Thanks for sharing that, man!  And that is indeed bizarre...I wonder
why the wrapper function is required?

--
Tyler Style
http://malthusian-solutions.com
http://nirdvana.com

exstock wrote:
> On Mar 11, 9:17 pm, Logos <[email protected]> wrote:
> > Open the error console in Firefox (CTRL-SHIFT-J) and correct the
> > errors that it is showing :)
>
> Good answer, except that I'm having the exact same problem in Firefox,
> and despite what the error console says, my coordinates are in the
> correct format.
>
> I've read the previous messages on the subject, and grew extremely
> frustrated that every thread seemed to end with something along the
> lines of, "Did anyone ever get this to work?"  Maddening.  So, now
> that I've figured out something that works, I will *gasp* share it
> here.
>
> Using the onclick methods on the advanced usage page didn't work for
> me, and neither did the error console.  What did work, even though it
> has made my oldfart code just that much uglier, is this:
>
> <html>
> <head>
> <script type="text/javascript">
> function greyBoxOverlay() {
>         GB_showCenter("Caption", "site.html", 123, 456);
> }
> </script>
>
> </head>
> <body>
>
> <A HREF="#">
>       <IMG SRC="../images/test1.jpg" WIDTH="300" HEIGHT="500" BORDER="0"
> ALT="" USEMAP="#test1_Map" /></A>
> <MAP NAME="test1_Map">
> <AREA SHAPE="rect" ALT="1" COORDS="100,100,200,200"
> HREF="javascript:greyBoxOverlay()" />
> </MAP>
>
> </body>
> </html>
>
> I did not think this up.  I saw it in the code at the bottom of
> someone else's post on a different topic (P+sGuy) and I am not SMRT,
> but by gosh and by golly the @(*#^(@&^ thing finally freakin' works.
> Hope this helps someone, and they don't waste tons of time trying to
> figure this out like I did.
>
> -E House
> Aphasiacs Mauve!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GreyBox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to