Reply
javascript on freeserver
Old 06-26-2003, 06:48 AM javascript on freeserver
scottfree's Avatar
Extreme Talker

Posts: 234
Location: Hamburg
I just have a simple question: I have a website on two different free servers. There are some galleries with thumbnails and to open them I have used a simple javascript openwin function. On the one server the page works fine but on the other, it doesn´t. I know that javascript cannot be disabled as other javascript does run. Is there a workaround to this but still opening the pics in a new window?
Thanks.
scottfree is offline
Reply With Quote
View Public Profile Visit scottfree's homepage!
 
When You Register, These Ads Go Away!
Old 06-26-2003, 07:19 AM
praveen's Avatar
Life is a Dream

Latest Blog Post:
Happy Holidays
Posts: 3,577
Location: in a distant land far away from reality
can u provide a link to the page.??
__________________
Praveen
Web Tools - Smilies - Celebs - Short URLs - Indian Food - Create a Poll - Social Bookmark Widget

Useful Threads, Tutorials and Resources
Graphics - Templates - Dreamweaver - Javascript - SEO - Ruby on Rails - Ajax Tutorials - More Ajax - CSS - More CSS
praveen is offline
Reply With Quote
View Public Profile Visit praveen's homepage!
 
Old 06-26-2003, 10:39 AM
scottfree's Avatar
Extreme Talker

Posts: 234
Location: Hamburg
http://www.freehosting.hostrave.com/p/scottfree/ is the site which doesn´t work and
http://free.hostdepartment.com/s/scottfree/ is the site which does work. The coding is the same on both pages and the javascript is:
<script language=JavaScript>
function OPENWIN(filename)
{
var target;
Target = window.open("../images/"+filename, "Target","width=850,height=600,left=100,top=0, scrollbars=0, resizable=1");
Target.window.focus();
}
</script>

and the links are written as:
<a onclick="javascript:OPENWIN('amsterdam1/amsterdam_park2002_1.jpg')" href="#">
thanks if you can help.
__________________
I think, therefore I am..... I think.
scottfree is offline
Reply With Quote
View Public Profile Visit scottfree's homepage!
 
Old 06-26-2003, 11:16 AM
praveen's Avatar
Life is a Dream

Latest Blog Post:
Happy Holidays
Posts: 3,577
Location: in a distant land far away from reality
well it works for me.

i did not have any problem.

and there is nothing wrong with the code either..

maybe try to clear ur cache and history and try again.
__________________
Praveen
Web Tools - Smilies - Celebs - Short URLs - Indian Food - Create a Poll - Social Bookmark Widget

Useful Threads, Tutorials and Resources
Graphics - Templates - Dreamweaver - Javascript - SEO - Ruby on Rails - Ajax Tutorials - More Ajax - CSS - More CSS
praveen is offline
Reply With Quote
View Public Profile Visit praveen's homepage!
 
Old 06-26-2003, 12:03 PM
scottfree's Avatar
Extreme Talker

Posts: 234
Location: Hamburg
Really wierd. I have tried it at work and at home but the site at freehosting.hostrave.com does not work for me anywhere.
It works on my locally installed server but not once uploaded.
Really strange. Are you sure you tried to click on a photo on the site at: http://www.freehosting.hostrave.com/p/scottfree/
the new window does open but no pic, just advert for the hosts.
If it doesn´t work than forget it but thanks for the help and thanks for trying.
Cheers.
__________________
I think, therefore I am..... I think.
scottfree is offline
Reply With Quote
View Public Profile Visit scottfree's homepage!
 
Old 06-26-2003, 12:12 PM
praveen's Avatar
Life is a Dream

Latest Blog Post:
Happy Holidays
Posts: 3,577
Location: in a distant land far away from reality
yes, i clicked on a photo.

infact on the photo whose caption is "Getting lost in Amsterdam
is easy" - there is a sticker which says "do u wanna be a rockstar".


correct??
__________________
Praveen
Web Tools - Smilies - Celebs - Short URLs - Indian Food - Create a Poll - Social Bookmark Widget

Useful Threads, Tutorials and Resources
Graphics - Templates - Dreamweaver - Javascript - SEO - Ruby on Rails - Ajax Tutorials - More Ajax - CSS - More CSS
praveen is offline
Reply With Quote
View Public Profile Visit praveen's homepage!
 
Old 06-28-2003, 07:11 AM
scottfree's Avatar
Extreme Talker

Posts: 234
Location: Hamburg
Yes, that is correct but it still doesn´t work for me. I will try to get a few people to test it and see what they have to say. I have deleted all my cookies, my history and all temporary internet files and it is still the same.
Thanks for your help Praveen!
__________________
I think, therefore I am..... I think.
scottfree is offline
Reply With Quote
View Public Profile Visit scottfree's homepage!
 
Reply     « Reply to javascript on freeserver
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13795 seconds with 12 queries