-
Need help with modeless window
Is there a way to modify the modeless window script for a button rather than a text link?
Thanks in advance.
-
-
<button onclick="modelesswin('http://yahoo.com',600,400)">Click Here</button>
-
-
Ok- I'll give it a try- Thank you
-
-
Hi Twey,
I tried your suggestion on a blank page (as I always do) and it does work but only if I leave the two statements in like this:
<a href="javascript:modelesswin('http://yahoo.com',600,400)">Click here</a>
</script>
//<button onclick="modelesswin('http://www.lambdals.com/newpayplan.html',600,400)">Click Here</button>
</script>
which I don't mind except that when I test it, the modeless window pops up at the same time as the button does. If I close the window and click on the button, then my info box pops up as it should.
Taking the statement:
<a href="javascript:modelesswin('http://yahoo.com',600,400)">Click here</a>
</script>
out won't allow my button to show. Weird!
I know enough about javascript that I can take a stock script and make it do what needs to be done, 'cept this time!
Any Ideas or should I post this message to the forum?
Thanks for your help.
Kronos
-
-
Hello again,
Problem solved. I took this statement out:
//configure URL and window dimensions (width/height)
modelesswin("http://yahoo.com",600,600)
Now it does what I need it to do.
Thanks for your help
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks