Gossamer Forum
Home : Products : DBMan : Installation :

Image buttons in the footer...

Quote Reply
Image buttons in the footer...
When I define an image as a button in the footer, the browser do not see this image, it gives a border, with the size of the image, what is given in the URL, but not the image, only a cross. What is wrong here??

print qq!| <A HREF="$db_script_link_url"><IMG SRC="foto/dbbut1hfdmn.jpg" HEIGHT=28 WIDTH=99 ALT="Hoofd Menu"></A> !;
Quote Reply
Re: Image buttons in the footer... In reply to
I have did that allready, but it won't work. I even change the image.jpg in an image.gif file, but it will not matter. Also tried it with another browser, still no succes. What could I do more...?
Quote Reply
Re: Image buttons in the footer... In reply to
You need to include the full URL to the image.

<IMG SRC="http://www.server.com/foto/dbbut1hfdmn.jpg"

or whatever is appropriate for your site.


------------------
JPD





Quote Reply
Re: Image buttons in the footer... In reply to
Is your "foto" directory within your cgi-bin? A lot of times this can cause problems. If it is in your cgi-bin, move the whole directory to your regular webpage directory and give it a try.

If not, I have no idea of what the problem is.


------------------
JPD





Quote Reply
Re: Image buttons in the footer... In reply to
I put it in the HTML dir, and that works, but I've no explaination for that the dir 'foto' right under the HTML dir, not worked.

Next step: Put the whole footer with nice buttons in a left frame.... any tips??
Quote Reply
Re: Image buttons in the footer... In reply to
Sorry. I don't "do" frames. Smile

Maybe someone else with experience in frames will be able to help.


------------------
JPD





Quote Reply
Re: Image buttons in the footer... In reply to
Thanks anyway, Wink and maybe indead someone else know something about frames. I thought something about 'BASE TARGET', but that must be between <HEAD></HEAD>-tags, so....
Quote Reply
Re: Image buttons in the footer... In reply to
mart, It's tricky enough implementing frames for my own CGI programs, let alone one that I didn't originally code. And DBMan will be a particularly tough program to frame. But it can be done, though it's not for the faint of heart.

You'll need to use javascript to pass the FORM values from the submit buttons on one frame to the form objects located on another frame. And I would avoid using a base href with a CGI program. Every time I've tried using it on a page, the CGI gets confused to its whereabouts. In fact I tried using a base href in the &html_page_top and &html_error_page_top subs to set the relative address for my stylesheet. But I ended up using an absolute address for them both (I enter DBMan via an SSI, so that might have caused a problem too).

Anyway, I highly recommend that you use stylesheets to get a button effect with no cost in graphics bandwidth (works only in MSIE 4.x and above, NS supports some stylesheet attributes though). If you use MSIE take a look at my site at www.west.net/~mel/dbman and let me know what you think (keep in mind that all fonts and colors can easily be changed to your liking).

M.E.L.
Quote Reply
Re: Image buttons in the footer... In reply to
mart i guess that you are dutch as the hoofd menu in your topic suggests.

i have gone through the whole thing with frames in dbman and have finally incorporated them successfully, with thanks to alex.

maybe i can help you if you explain what it is you want to do. you can email me at garry_s@hotmail.com. I also speak dutch so if it makes it easier for you to tell me the problem in dutch please feel free. ik heb geen probleem met 't leezen van het nederlands taal, alleen van 't schrijfen.

------------------
cybergaz
Quote Reply
Re: Image buttons in the footer... In reply to
HEY MEL.

did you ever frame DBMAN, I checked your site today but I didn't see any ... you must be using CSS. Would you mind posting your HTML.PL for us. I'd really be interested in seeing what you did.

By the way, you from SB .... I used to go to UCSB and of course enjoyed many a morning recovering from State Street crawls ... not to mention those IV seens.