[SOLVED] use an image with rollover as an internal link

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
tonybatt
New Member
New Member
Posts: 9
Joined: Fri May 08, 2009 8:39 am

[SOLVED] use an image with rollover as an internal link

Post by tonybatt »

Hi Sorry if this is a simple procedure, i have searched for the answer on the boards and as yet no luck

I just want the basic syntax/code for an image to rollover and link to an internal page - no text around it

for example in a normal html file I would use 'a href' wrapped around the image:





Thanks in advance
Last edited by tonybatt on Sun May 10, 2009 5:14 pm, edited 1 time in total.
tonybatt
New Member
New Member
Posts: 9
Joined: Fri May 08, 2009 8:39 am

Re: use an image with rollover as an internal link

Post by tonybatt »

13 views and no responses, thanks a bunch guys
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: use an image with rollover as an internal link

Post by Russ »

Use CSS for the rollovers?
tonybatt
New Member
New Member
Posts: 9
Joined: Fri May 08, 2009 8:39 am

Re: use an image with rollover as an internal link

Post by tonybatt »

Hi Russ,
Thanks for your time, It isn't the rollovers i am bothered about it is the syntax of the internal linking system. as you can see I am new to CMSMS so please bear with me.

what I am looking for is something like {cms_selflink page="bowls" text="Bowls"}
where text="Bowls" is replaced by image="uploads/images/icons/domestic-worktops/dkw_bowl.jpg" image-name="Bowls"

thanks in advance
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: use an image with rollover as an internal link

Post by Russ »

Not sure I quite understand what you want, but if you are linking to an internal page then add an image to the page, select the image and then select the internal link and link it?

{cms_selflink page="guestbook" text=''}

Note the single quotes around the 'text' rather than the default " - I had to change this manually...
Last edited by Russ on Sun May 10, 2009 8:36 am, edited 1 time in total.
tonybatt
New Member
New Member
Posts: 9
Joined: Fri May 08, 2009 8:39 am

Re: use an image with rollover as an internal link

Post by tonybatt »

Russ,
Thank you so much for your help. single quote works like a charm.
Now trying for opacity rollovers from existing images. wish me luck  8)

I will post the site when i get a bit closer to the end
but you can see a non-cms version on my test server
http://www.daviesbatt.co.uk/cavendishnew

site will be at
http://www.daviesbatt.co.uk/cavendishcms
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: use an image with rollover as an internal link

Post by Russ »

Good luck Tony, if this is solved could you please mark it as such in the title of the first post as per forum rules.
Many thanks,
Russ
tonybatt
New Member
New Member
Posts: 9
Joined: Fri May 08, 2009 8:39 am

Re: use an image with rollover as an internal link

Post by tonybatt »

How do I do that!
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: use an image with rollover as an internal link

Post by Russ »

Modify the title of your first post with a [SOLVED] after the title (modify button)
See...
http://forum.cmsmadesimple.org/index.php/topic,13968.0.html
tonybatt
New Member
New Member
Posts: 9
Joined: Fri May 08, 2009 8:39 am

Re: [SOLVED] use an image with rollover as an internal link

Post by tonybatt »

Thanks Russ
Post Reply

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