HighDots Forums  

Re: Help with popup script

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss Re: Help with popup script in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Randy Webb
 
Posts: n/a

Default Re: Help with popup script - 04-18-2006 , 11:50 AM






EnjoyNews said the following on 4/18/2006 10:38 AM:
Quote:
I have a popup problem.

I have a script that generates a popup for image viewing.

It has 2 function, and the first is that it automaticly generates the popup
window to the size of the image, and the second is that it closes the popup
window when you click outside of it.
And if the user has popups blocked?

<URL: http://www.litotes.demon.co.uk/js_info/pop_ups.html >

Is a much better alternative to popup windows.

Quote:
It is a script I have found on the internet, since I have no experience in
javascript coding.
Junk it.

Quote:
It works fine, but the site won't go through a w3c validation.
It doesn't "work fine" though.

Quote:
In the script there are some body, title, head tag's which the validation
won't exept.
It looks like it can't see that it is inside a script, and think it's a body
tag that is suddently in the middle of the site, which it ofcause won't
exept.
Put it an external file then. The validator doesn't check those

Quote:
So I need a little help with this one.
Or maybe if it's an older script, and someone knows a better and newer one
that can do the job.
See above. It is not only old but it's pretty useless and poorly written.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/


Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.