Page 1 of 1

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

Posted: Fri May 08, 2009 9:32 am
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

Re: use an image with rollover as an internal link

Posted: Sat May 09, 2009 9:13 am
by tonybatt
13 views and no responses, thanks a bunch guys

Re: use an image with rollover as an internal link

Posted: Sat May 09, 2009 11:44 am
by Russ
Use CSS for the rollovers?

Re: use an image with rollover as an internal link

Posted: Sat May 09, 2009 12:20 pm
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

Re: use an image with rollover as an internal link

Posted: Sun May 10, 2009 8:35 am
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...

Re: use an image with rollover as an internal link

Posted: Sun May 10, 2009 2:36 pm
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

Re: use an image with rollover as an internal link

Posted: Sun May 10, 2009 3:58 pm
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

Re: use an image with rollover as an internal link

Posted: Sun May 10, 2009 4:56 pm
by tonybatt
How do I do that!

Re: use an image with rollover as an internal link

Posted: Sun May 10, 2009 5:02 pm
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

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

Posted: Sun May 10, 2009 5:14 pm
by tonybatt
Thanks Russ