The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Need code for widget that links to another page.

View previous topic View next topic Go down

Solved Need code for widget that links to another page.

Post by Castellana on July 14th 2013, 9:02 pm

Hello! Hello

I need help to create a portal page widget which will lead to another page in the forum.
Here is what I want it to do -

The widget will be on the portal page:
http://cvas.forumotion.com/portal

This photo will be what you see. Here is the HTML for the photo:
<a href="http://s76.photobucket.com/user/dclaro/media/Plants/dcdSHOW10Gtop.jpg.html" target="_blank"><img src="http://i76.photobucket.com/albums/j12/dclaro/Plants/dcdSHOW10Gtop.jpg" border="0" alt="10G tank open top view. photo dcdSHOW10Gtop.jpg"/></a>

And when you click on it it will lead you to this page:
http://cvas.forumotion.com/f2-plants

Can someone tell me what to put in the widget source code to accomplish that?

Castellana
Forumember

Female Posts : 282
Reputation : 5
Language : english

http://cvas.forumotion.com/portal

Back to top Go down

Solved Re: Need code for widget that links to another page.

Post by Ange Tuteur on July 14th 2013, 11:28 pm

From what I see you're currently linking to the image on photobucket, so when I click the image it will take me to photobucket.

<a href="http://s76.photobucket.com/user/dclaro/media/Plants/dcdSHOW10Gtop.jpg.html" target="_blank">

I edited your code and corrected it with the url you specified above.
Code:
<a href="http://cvas.forumotion.com/f2-plants" title="Plants" target="_blank"><img src="http://i76.photobucket.com/albums/j12/dclaro/Plants/dcdSHOW10Gtop.jpg" alt="Plants"/></a>

I also added in title which displays a title for the link when you hover over the object, it is currently set to 'Plants'. alt has been changed to 'Plants' as well, that is the content which is displayed when a image has not been loaded. You can modify all the content in the code above to your liking. If you need anymore help or information on HTML please let us know. Smile

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Need code for widget that links to another page.

Post by Castellana on July 15th 2013, 1:21 am

:wouhou:
It works perfectly!

Thank you very much, Seth. My plan is to change the photo periodically and now I know how to do that, too.

Castellana
Forumember

Female Posts : 282
Reputation : 5
Language : english

http://cvas.forumotion.com/portal

Back to top Go down

Solved Re: Need code for widget that links to another page.

Post by SLGray on July 15th 2013, 1:26 am

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36691
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Need code for widget that links to another page.

Post by Ange Tuteur on July 15th 2013, 1:26 am

You're welcome, good luck on your forum. Wink

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum