Timeline for relative url path
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 22, 2015 at 5:28 | comment | added | M a m a D |
@nomeer it is about html <a> tag,By specifying target you can determine how to open the new page. for more information visit w3schools.com/tags/att_a_target.asp
|
|
Apr 22, 2015 at 5:10 | comment | added | nomeer | Sorry @Drupalist, I did a mistake above. Locally it is working and links are opening in same window and in a new tab as well, this is right. But when I deployed it to other machine they are not clickable on the same window. I always have to open it in a new link or tab. I want to make working in a same window as well. | |
Apr 22, 2015 at 4:59 | history | edited | M a m a D | CC BY-SA 3.0 |
added 16 characters in body
|
Apr 22, 2015 at 4:59 | comment | added | M a m a D |
I updated the answer and it opens the link another tab. just add target="_blank" to <a>
|
|
Apr 22, 2015 at 4:52 | comment | added | nomeer |
Thanku @Drupalist, I got the required url by using first method. But not locally it works but when I deploy it to other machine it is not clickable on the same window, I have to right click that item and open it in a new tab or window.As I am accessing using <a href="<?php print $base_url;?>'.my_link'" windows.location="<?php print $base_url;?>'.my_link'">
|
|
Apr 22, 2015 at 4:39 | vote | accept | nomeer | ||
Apr 22, 2015 at 4:39 | vote | accept | nomeer | ||
Apr 22, 2015 at 4:39 | |||||
Apr 21, 2015 at 9:05 | history | answered | M a m a D | CC BY-SA 3.0 |