![]() |
|
Thread Tools |
#1
|
|||
|
|||
![]()
Is there a code that can be added when you insert a link on the page to keep it from opening in a new tab/window/page, but open that link in the same page?
Also is there a special code that will work to insert a media player that shows up on the page and when clicked will not take you to a new page/window/tab? I have lyrics to songs in a thread with a link to the MP3 file but cant figure out how to put a player there that people can just click the play button. Obviously when you put in the link it opens a new tab making you have to toggle back to view the lyrics. Jon No members have liked this post.
|
#2
|
||||
|
||||
Originally Posted by jrw422dx
target="_top"![]()
http://www.w3schools.com/tags/att_a_target.asp No members have liked this post.
|
#3
|
||||
|
||||
I think what he is looking for is, target="_self" not top.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others. No members have liked this post.
|
#4
|
||||
|
||||
I've always used "top" after discovering that using "self" sometimes causes issues, like selecting a link within a sidebar opens the webpage within that sidebar rather than the full window/tab. Mind you, I haven't tested that since 3.6x.
No members have liked this post.
|
#5
|
||||
|
||||
Yeah I don't believe that is a issue anymore, but thanks for your explanation on why you use it that way.
![]()
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others. No members have liked this post.
|
#6
|
|||
|
|||
Would it safe to assume that I would need to have ALLOW HTML on for that to be able to work? I have tried adding it several different ways in the add a link box and no results. It just posts the whole code and I get a 404 error when I click it.
No members have liked this post.
|
#7
|
||||
|
||||
Where exactly is the link shown, and what is the code you are using to show it?
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others. No members have liked this post.
|
#8
|
|||
|
|||
Here is what I am trying to make work.
<a href="http://www.online-ministries.org/audio/walt-mills-only-the-blood.mp3" target="_top"> Pasting that into the "LINK" box with TEXT highlighted produces nothing. Would rather have a player one could just click on to listen but cant figure that either. I am running 4.2.2 and ALLOWED HTML in that particular forum And if you would like to look at the page and what I am trying to do, its here http://www.online-ministries.org/for...s-that-Inspire As you will see with all the links I have there, all will open in a new tab which makes viewing the lyrics useless unless you switch back to the parent page No members have liked this post.
Last edited by jrw422dx; 01 Nov 2013 at 12:13. |
#9
|
||||
|
||||
TBH I don't even think opening the player in the same page will do what you want, you would need to have it open as a popup like when you go to post attachments. Maybe this mod can get what you want,
http://www.vbulletin.org/forum/showt...ighlight=popup I would not allow HTML in the forums, that is generally a bad idea.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others. No members have liked this post.
|
#10
|
|||
|
|||
Thank You Chris I will give that a shot this evening..
Anyone else have an idea or know of another way? No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 10:28.