PDA

View Full Version : code that stops ezula but all visotrs can see site


Taz
12-12-2001, 06:47 PM
Here is an excerpt taken from my site, with the one line CSS and why it works. You will lose no visitors and your site stays eaxactly the same. If you want the full URL to read - email me.

We'll call this code STOPTEXT :-)

It seems Ezula uses CSS/VB/DHTML, and their ability to utilize the SPAN feature. SPAN does not have much use as an HTML tag by itself, but Internet Explorer has almost full support for CSS Version 1 and 2. Using SPAN, you can create colored backgrounds, and manipulate text within the actual span itself. In CSS our code is displayed with priority because we are using attributes that are left open, and this will take precedence over Ezulas attempt to "change it". (Unless we leave it empty- then the initial Ezula applied style has priority).

The Microsoft.com developers website area says it best -
"Span is an HTML tag used to indicate a portion of the text within another tag for special processing. You can assign an ID for the SPAN tag and reference this in your DHTML and Visual Basic code. For example, you might use a SPAN tag to indicate that a few of the words in a paragraph should be formatted separately from the rest of the paragraph. You could then apply a unique style to the SPAN. The rest of the paragraph would be unchanged."

Add this code to each page between your head tags:





Or you can save the text above to a file and name it whatever.css Then link from your headers by uploading the CSS file to your server and adding this between your head tags:



Almost forgot - You can change the properties within the SPAN attribute. This means you can change the font, colors, etc.. However- Do not attempt to leave it empty as Ezulas applied style sheet will take precedence over your empty attributes. You must declare at least one attribute within the SPAN. Color, font size, etc...otherwise your SPAN is considered null, and Ezulas style will overide your empty designation. You can use a zero font size if you just want to use the code to get rid of the yellow virus.

Merry Christmas webmasters....we just got our links back.


Posted by sgtsearch, 12 Dec 2001 15:42 BST


<!-- StopText start to copy here -->
<style type="text/css"><!-- span {font-size:12px** --></style>
<!-- Stop here and insert into your site head tags -->

darnell
12-13-2001, 01:21 PM
Anyone tried Taz's idea yet? I don't have the scumware installed to test it....

Thanks Taz!!! :cool:

sgtsearch
12-21-2001, 12:51 AM
Yes the code works 100%. Since TText is only used with IE, this code is 100% effective, 100% of the time. That is unless someone alters it, and messes with the span.

Jan
12-21-2001, 01:11 AM
Welcome to the forums sgtsearch! :wave:

sgtsearch
12-21-2001, 11:57 PM
Thank you Jan-

Good to be here.

Click Here!