|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
External CSS Files?
On a new site of mine, www.parentagetest.com, I have a lot of CSS roll overs and it is pushing my good text further down the code. Does anyone know how I can put that in an external file?
I know how to do standard external style sheets, but how about CSS code for rollovers and such, like when the code in the html starts with <csscriptdict>.
__________________
Webmaster |
|
#2
|
|||
|
|||
|
OK, this is just a shameless tactic to get my post back up on the first page so people can see it to respond ;)
I know getting the keywords higher on the page is important, but how can I get my css code in an exterlan file. The code is really just for rollovers. Should I use javascript and put that in a external .js file? |
|
#3
|
||||
|
||||
|
yes that will work. do a search on the net for js rollover script and you should fine plenty that will work for you.
__________________
Military Singles Dating |
|
#4
|
||||
|
||||
|
I would define all my classes in css and send them external and blocks of text for example use span or div.
Did that make sense? lol. I know what I mean anyway ;-) |
|
#5
|
|||
|
|||
|
I don't get exactly what you are saying Webby. I had another guy design this sight, and he used CSS. So I have a bunch of code that looks like
Code:
<csscriptdict>
<script><!--
CSInit = new Array;
function CSScriptInit() {
if(typeof(skipPage) != "undefined") { if(skipPage) return; }
idxArray = new Array;
for(var i=0;i<CSInit.length;i++)
idxArray[i] = i;
CSAction2(CSInit, idxArray);}
CSAg = window.navigator.userAgent; CSBVers = parseInt(CSAg.charAt(CSAg.indexOf("/")+1),10);
function IsIE() { return CSAg.indexOf("MSIE") > 0;}
function CSIEStyl(s) { return document.all.tags("div")[s].style; }
function CSNSStyl(s) { return CSFindElement(s,0); }....
Thanks a bunch! |
|
#6
|
||||
|
||||
|
Are these image or text rollovers?
|
|
#7
|
|||
|
|||
|
image rollovers. you can see it at http://www.parentagetest.com
|
|
#8
|
|||
|
|||
|
image rollovers. you can see it at http://www.parentagetest.com
|
|
#9
|
||||
|
||||
|
I take it youve tried placing from
Code:
<script><!--
CSInit = new Array;
function CSScriptInit() {
.
to
.
return result;
}
CSAct = new Object;
// -->
In an external javascript file and calling it? Other than that I cant offer you any more help I'm afraid. |
|
#10
|
||||
|
||||
|
A good site to check for coding information is www.devshed.com !
|
![]() |
| Viewing: SEO Chat Forums > Other > HTML Coding > External CSS Files? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|