It's so simple and it's driving me nuts.
Why would a simple script like this get messed up?
I put in a perfectly fine script like this:
Download
and when I save the page and go back in this is what it does:
AND it removes the javascript from the rest of the rows (I was copying in a predefined all nicely done table).
can anyone help?
javascript for simple popup window killing me
Re: javascript for simple popup window killing me
Hi Kialn.
That is maybe because you're pasting the script -- or writing the code -- into the wysiwyg view of the text editor. You should use the HTML view instead.
Michel
That is maybe because you're pasting the script -- or writing the code -- into the wysiwyg view of the text editor. You should use the HTML view instead.
Michel
Michel Godts eDesign
Web Graphic Design Services for Your Online Communication
Made with CMSms:
Concentus Women’s Chorus
Color Brighton Green
Re: javascript for simple popup window killing me
No, I'm in the html view. I'm not THAT dumb!! 

-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: javascript for simple popup window killing me
Disable the wysiwyg, edit the code.... test the page, it should work.
Then re-enable the wysiwyg if you want.
Wysiwygs are evil...
People that know HTML and javascript shouldn't use them.... People that use wysiwygs probably don't know html and/or javascript..... but that's just my $0.02
Then re-enable the wysiwyg if you want.
Wysiwygs are evil...
People that know HTML and javascript shouldn't use them.... People that use wysiwygs probably don't know html and/or javascript..... but that's just my $0.02
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: javascript for simple popup window killing me
Thank you, I'll try it!