Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old September 26th, 2003, 08:49 AM
asim0s asim0s is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: nicosia,cyprus
Posts: 48 asim0s User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 3 m 31 sec
Reputation Power: 2
Send a message via ICQ to asim0s Send a message via Yahoo to asim0s
need some help with my script

i made this javascript to read an image src and display a link to open a pop up
so far so good here is the script btw

<script type="text/javascript">
if (document.images) if(document.getElementById('papas')){
papas1 = document.getElementById('papas').src;
document.write("<a href="" onClick="window.open(papas1)">Click here to enlarge</a>")
}
else
alert("malakies"); </script>


the problem is that when you click the page it doesnt stay there ( to understand what i mean check this out

http://www.frozensystems.com/catalog/product_info.php?cPath=26_57&products_id=125

when you click the link due to the href it goes back to the root

any way to lets say it "lock it" on the current page??

thx

Reply With Quote
  #2  
Old September 26th, 2003, 11:06 AM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: need some help with my script

seems to be working fine, unless I don't understand what the problem is, can you be more specific?

Reply With Quote
  #3  
Old September 26th, 2003, 11:17 AM
asim0s asim0s is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: nicosia,cyprus
Posts: 48 asim0s User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 3 m 31 sec
Reputation Power: 2
Send a message via ICQ to asim0s Send a message via Yahoo to asim0s
RE: need some help with my script

yeah i fixed it



studying and reading tutorials can be very helpful

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > need some help with my script


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway