PDA

View Full Version : Mapisizing


Bi4Be
04-17-1999, 05:33 PM
Hello everyone! OK, now here is a question I have been dying to get more info one: Image Maps!!! http://www.aota.net/ubb/smile.gif

Now I know there is a way to do them using some sort of HTML, but I won't be able to use that since it will be changing often and I can't e-mail tons of banner exchange members to change their HTML. Hence the fact that I need a CGI/Perl one, most likely the one I found at http://www.staff.net/cgi-scripts/ .

The directions aren't very clear with it or any other Image Map Scripts. I know I need to specify the image with bunches of numbers and all but what are those numbers and how do I figure them out?

Could someone point me in the right direction and explain alittle?

Thanks,
-Bi4Be

PS: Here is the type of image I will be "mapisizing" (a home made term http://www.aota.net/ubb/biggrin.gif): http://www.beanieadnetwork.com/bartest.gif

PSS: Yes, I finally chose the BeanieAdNetwork.com domain! Woo hoo!

ChrisH
04-20-1999, 12:27 AM
I guess you can find stuff in general
anywhere (e.g., www.stars.com). For this
or any other imagemap (I believe) you
will need some sort of change to the
HTML.

For example, in their demo, they have the
following:
<a href="http://www.staff.net/cgi-bin/cgi-scripts/clickimage/clickimage.pl">
<img src="map.gif" alt="The ClickImage" border=0 ismap></a>

The good news is that once you have it set
up as an imagemap, you shouldn't have to
change the HTML. Just change the image
and the imagemap on your server. (This is
for a server-side imagemap, what is above
and what you seem to need.)

There is a little bit of documentation in
the perl script there. Download and read it
and you'll see what it does -- very little!!

So, you change the above for your server
and image name, then have a map something
like

www.BeanieAdNetwork.com/ad.html|0|0|122|16
www.BeanieAdNetwork.com/auction.html|123|0|242|16
www.BeanieAdNetwork.com/boards.html|243|0|364|16
www.BeanieAdNetwork.com/adwithus.html|365|0|486|16

Since your ad is 486 pixels wide (4 sections)
and 16 pixels high.

Make sense?

ch

Bi4Be
04-20-1999, 06:06 PM
Thanks bunches Chris! http://www.aota.net/ubb/biggrin.gif
I found a pretty good tutorial from you, then I searched Yahoo! and found a nice little program called MapEdit (or something like that).

What you were talking about (using a perl based map instead of including the number on the HTML page itself) was exactly what I was thinking. But I still have one problem, I did a test page demonstrating it at http://www.beanieadnetwork.com/test.html . All the buttons are made to go to the same place (www.beanieadnetwork.com) except for the "Free Auctions" button linking to www.bid4beanies.com which doesn't go anywhere but www.beanieadnetwork.com!

Here is what info I have in the paremeters:
www.BeanieAdNetwork.com/|x0|y0|x170|y16
www.Bid4Beanies.com/|x171|y0|x259|y16
www.BeanieAdNetwork.com/|x260|y0|x468|y16

Am I doing something wrong or missing something?

Thanks again,
-Bi4Be

ChrisH
04-21-1999, 12:13 AM
Just drop the x and y in the coordinates:

www.BeanieAdNetwork.com/|0|0|170|16
www.Bid4Beanies.com/|171|0|259|16
www.BeanieAdNetwork.com/|260|0|468|16

Something else I forgot to mention is
that you can set up the imagemap without
the coordinates, then get the coordinates
by just holding the mouse over the points
on the imagemap. Like when you put the
mouse over your example; just look at the
bar on the bottom of the browser. Works
for me, anyway.

ch