Forum Moderators: phranque

Message Too Old, No Replies

Using an IPB template

Invision Power Board template, css, skin, theme, rollover

         

Master At Work

5:39 am on Mar 15, 2005 (gmt 0)

10+ Year Member



header with fully functioning rollover buttons...

my question is: is this going to be easy to implement as an Invision Power Board skin/theme/template? INCLUDING especially with the rollover buttons working - will I have to figure out a way to use CSS instead of JavaScript here?

thanks.

ED

[edited by: trillianjedi at 1:40 pm (utc) on Mar. 15, 2005]
[edit reason] Please see TOS. No self promotion URL's - thanks. [/edit]

Master At Work

8:30 pm on Mar 15, 2005 (gmt 0)

10+ Year Member



ok I'll try... how do I implement an HTML template with embedded tables and active JavaScript rollovers into say predominantly CSS driven [Invision Power Board] "skin"?

tedster

8:45 pm on Mar 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's probably going to involve taking the code apart just a bit to zero in on where the issues might lie.

When you say it's CSS driven, do you mean it uses divs? Or that you already have a large amount of CSS?

You definitely can combine divs and CSS. But we wary of conflicting rules - on widths and floats and things like that.

If there's a large amount of css, I would place it in an external .css file and call that file from the template header. Then make sure that any template you create includes the correct IDs and classes.

tedster

8:53 pm on Mar 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



INCLUDING especially with the rollover buttons working - will I have to figure out a way to use CSS instead of JavaScript here?

Although I do think a CSS hover behavior is better than javascript rollovers, there should not be any inherent reason you cannot stay with the js. Again, if it's a lot of script, place the functions in an external file and call it from the head of the template.

Calling big chunks of code from the head - js and css - will speed up the board because after the first page is downloaded the script is cached on the local machine and will not take up download time for future pages.