WHY isn't my script working???
I am attempting to do a script for a client, where they provide short descriptions of their products and principals using pop-up windows. I just can't get it to work. A new window pops up, but not with the .HTM file of the product/principal information, and I'm still getting errors left and write on the page. Can someone please tell me what I'm doing wrong and how to fix it? The page is at: http://www.justmytype.net/ies/products.htm
Thank you VERY much.
Visit Just My Type Designs at http://www.justmytype.net
Web sites that make you money. Makeovers for websites that don't.
Vincent Puglia posted this at 01:22 — 11th April 2000.
They have: 634 posts
Joined: Dec 1999
Hi,
Try fixing the syntax errors first.
line 16, character 16 expected ";".
The error is not necessarily on the line listed; it may be on the line above.
If you go through the errors one by one (starting with the first), you'll get less frustrated.
Vinny
------------------
GrassBlade: cut&paste javascript
Where the world once stood
the blades of grass cut me still
Arielladog posted this at 02:37 — 11th April 2000.
They have: 122 posts
Joined: Jun 1999
try putting fuction before openWindow, to make it
fuction openWindow(url){
Jim Shilt posted this at 02:39 — 11th April 2000.
They have: 268 posts
Joined: May 1999
You can look at my scout page for a sample of popup windows. http://www.shoutingrock.org/troop214/
Look at the Photo Board section.
The code for it is this
<script language="JavaScript">
<!--//BEGIN Script
function new_window(url) {
link = window.open(url,"Link","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=500,height=450,left=1,top=1");
}
//END Script-->
Hope this helps
------------------
My goal in life is found in Phillipians 4:8-9
My goal in life is found in Phillipians 4:8-9
shoutingrock.org/troop214
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.