PDA

View Full Version : HELP, I will pay if I have to


FanEvents
10-31-2002, 08:47 AM
This code is "broken," or so I am told (I cannot copy the code herein, so the actual page is viewable HERE (http://www.fanevents.com/Webmaster01.htm) , you can just View Source and lift it from there). I have spent HOURS trying to figure out how to do this in FP2000, I can't understand SQUAT, and I am sick of this.


ALL I WANT IS *TWO* THINGS:
=======================
(1) For any user to be able to Right-Click the images and Save-As. (actually, all I need "Right-Click-and-Save-As-able" are the banners which are currently "image012.gif" thru "image016.gif")

(2) To be able to -- myself -- delete any of those banners when they go out-of-date and replace it with another one, at some time in the future This means that someone has to clearly explain HOW??? I have created every page I use through Word2000 (which I find to be easy/intuitive/visually based), but I am told that this is my problem, though no-one will explain exactly HOW that is or exactly what Word2000 does to the code that makes the images unable to "Right-Click-and-Save-As"-- So HOW will I delete the out-of-date banners and replace them with new ones in future??? I assume I will HAVE to use FP2000, since using Word2000 to perform the edits will screw it up again, but can I just type in a different image name? (example- type-over "image012.gif" with "image027.gif"). I also assume I can just type over any nearby text with whatever new text. But what if I have to ADD another image???

LOWEST BID WINS, OBVIOUSLY FREE IS BEST.


THANK YOU **VERY** MUCH.
S.MAKO

DCElliott
10-31-2002, 01:46 PM
http://www.fanevents.com/Webmaster01_files/image012.gif

<a href="http://www.fanevents.com/"
title="The Watchers' Retreat c/o
www.FanEvents.com (executive producers Inner Space Productions)">
<span style='color:red;text-decoration:none;text-underline:none'>
<!--[if gte vml 1]>
<v:shape id="_x0000_i1031" type="#_x0000_t75" style='width:346.5pt;height:50.25pt'>
<v:imagedata src="./Webmaster01_files/image012.gif" o:title="BuffyBanner"/>
</v:shape>
<![endif]-->
<![if !vml]>
<img border=0 width=462 height=67 src="./Webmaster01_files/image012.gif" v:shapes="_x0000_i1031">
<![endif]>
</span>
</a>

Sneaky SOBs. I have formatted the code surrounding the Buffy/Angel link above to show how they have structured the link. What they have done is embed the gif bitmap within a vector markup language object (VML). The VML makes the gif invisible to your right click. (VML code in red)
<a href="http://www.fanevents.com/" title="The Watchers' Retreat
c/o www.FanEvents.com (executive producers Inner Space Productions)">
<img src="./Webmaster01_files/image012.gif" border=0 width=462 height=67 />
</a> is the replacement code that would make the banner right-clickable. I don't think it would affect the functionality of the site otherwise.

BTW - look at the site in Netscape Navigator - the images are right-clickable!!

What is happening is that Explorer sees the <!--[if gte vml 1]> code. This is a Microsoft conditional comment that is asking if the Internet Explorer browser has VML installed. If installed it executes the VML statements following until it reaches the closing <![endif]-->.
If it is not installed ( indicated in the <![if !vml]> statement> the alternate code executes and you get a conventional <a ...> <img> </a> clickable graphic.

I'm sure Word 2000 is making your page 5 times as bloated as it need be and almost impossible for a human to read. Ditch that sucker!

To make your job quick and dirty - just block and copy the code between the <![if !vml]> . . . <![endif]> tags throughout your document. Put this in a new document - don't even think of trying to maintain the old one!!

FanEvents
10-31-2002, 01:50 PM
Bless you, man, this has been a weeklong nightmare for me, and I SOOOO appreciate your VERY kind assistance!!!

Thank you thank you thank you!!!

Did I mention thank you?

Thanks!

DCElliott
10-31-2002, 02:00 PM
call me Fatboy Slim, cuz I got to PRAISE YOU like I should!Simple grovelling would be fine.

I appreciated the chance to figure this one out - I like puzzles and had never seen something like this before. The trick was recognizing the conditional comments and the VML references.