Javascrip and php and images.

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
zander187
New Member
New Member
Posts: 9
Joined: Thu Jun 29, 2006 3:50 pm

Javascrip and php and images.

Post by zander187 »

I have been playing with some code to try and make an image into a button with the hope of making a displaced rollover but ever thing i have seen and tried requires Javascript which overtime I try it i get error reports.

is this because PHP uses the same { } brackets?

Is there any way of making an image into a rollover?
cyberman

Re: Javascrip and php and images.

Post by cyberman »

zander187 wrote: requires Javascript
All content will be parsed from smarty, a template engine. Content like Javascript must be placed inside a {literal}{/literal} to "hide" for smarty  ;).
zander187
New Member
New Member
Posts: 9
Joined: Thu Jun 29, 2006 3:50 pm

Re: Javascrip and php and images.

Post by zander187 »

thanks that worked perfectly. :D

I also didn't knwo that i needed all of the stuff in the head to make it work.
well i did say i was a newbee and I am just finding my feet with code.
Post Reply

Return to “Layout and Design (CSS & HTML)”