Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   popup .
alpha1172
CZ Newbie
alpha1172 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 23, 2005
0.00 posts per day
Posts: 6
Points: 306
   
sorry i have searched and i see this question coming up over and over again but i cant find my answer. im trying to make a link open in a new window but to keep teh original window from going blank.

heres what i am using
,?php
<script type=\"text/javascript\">
window.open('url,');
</s cript>
/>



Back to top Reply with quote
#2   re: popup
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
I'm sorry but what do you mean by "to keep teh original window from going blank."?

Any link that uses the target property to a new window should work and would keep the original window open.


<a href=\"http://url_here.com\" target=\"_blank\">LINK NAME HERE</a>



Back to top Reply with quote
#3   re: popup
alpha1172
CZ Newbie
alpha1172 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 23, 2005
0.00 posts per day
Posts: 6
Points: 306
   
when ever i click on the link the new window opens ok but the original window goes to a whiite screen. after hitting back in the original window it goes back to thescreen in whick you first clicked the link.



Back to top Reply with quote
#4   re: popup
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
that's truly weird. Is this happening to a few of your members or just to you? What browser are you using?



Back to top Reply with quote
#5   re: popup
alpha1172
CZ Newbie
alpha1172 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 23, 2005
0.00 posts per day
Posts: 6
Points: 306
   
its happening to everyone. i think its my code .ive only tried it in ie but i know other people use firefox and the are saying the same thing.

what is the best way to add a link to the menu. not useing the exlinks function.

i made a new folder in the module folder and added the code above in a index.php file.

is there a better way of doing this?



Back to top Reply with quote
#6   re: popup
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
what kind of menu are you running? Is it the CZM and if so, what version? Is it happening to all the links in the menu or just the external ones?



Back to top Reply with quote
#7   re: popup
alpha1172
CZ Newbie
alpha1172 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 23, 2005
0.00 posts per day
Posts: 6
Points: 306
   
im useing the newest version right from your site. its only happening to the new modules i made. which are just simply links to different pages so that i could have them organized instead of just under quicklinks of exlinks.



Back to top Reply with quote
#8   re: popup
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
Can you leave a link to your site plz and if you already have a test user account can you post that too please or PM it to me



Back to top Reply with quote
#9   re: popup
alpha1172
CZ Newbie
alpha1172 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 23, 2005
0.00 posts per day
Posts: 6
Points: 306
   
user test

pass 12345
[ Register or login to view links on this board. ]

under website if you click on browse you will see the problem.

theere are other links that do it but i have removed all of them



Back to top Reply with quote
#10   re: popup
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
I may be missing something here but the only codes in that white page is the script you are running. It won't show anything else cause there's nothing on that page. A typical web page without a background tag will always show white, that is default.

Try adding other things in there and see if the problem still persists.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum