WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 widget code on Sun May 09, 2010 1:47 pm

Behavior???


Registered Member
Registered Member
My site is http://www.thedungeons.info

To the Right sidem, there is a widget called "House points"

is there a way or code which i must enter in the widgets code in ACP, so if someone clicks Slytherin, they can view the details of Slytherin house, Like head of house and prefects?

http://www.thedungeons.info

2 Re: widget code on Sun May 09, 2010 4:15 pm

Joel

avatar
Registered Member
Registered Member
Is this what you mean?

Code:
<a href="http://www.thedungeons.info/" target="_blank"><img src="http://illiweb.com/fa/pbucket.gif" border="0" </a>

edit the links and images accordingly.

http://www.advertisehotspot.info/

3 Re: widget code on Sun May 09, 2010 9:36 pm

Behavior???


Registered Member
Registered Member
No, it should display the information in the widget itself, and It wont be a web page

http://www.thedungeons.info

4 Re: widget code on Mon May 10, 2010 12:35 pm

Joel

avatar
Registered Member
Registered Member
what do you want exactly? Please explain further.

http://www.advertisehotspot.info/

5 Re: widget code on Mon May 10, 2010 9:31 pm

Behavior???


Registered Member
Registered Member
Ok, in advertising Hotspot, you recently enabled "RSS Feed" widget

With that said, I want it this way-

If I click the "MY AOL" in that button, it would take me to another webapge, but What i want is , it must show a "Sign In" Screen in that widget itself

http://www.thedungeons.info

6 Re: widget code on Wed May 19, 2010 12:52 am

Behavior???


Registered Member
Registered Member
Bump!

http://www.thedungeons.info

7 Re: widget code on Wed May 19, 2010 9:15 am

ankillien

avatar
Administrator
Administrator
Hello,

Are you looking for something hide-show kind of script?
When clicked on the image it shows some info, correct?

8 Re: widget code on Wed May 19, 2010 10:44 am

Behavior???


Registered Member
Registered Member
Yes, Please

http://www.thedungeons.info

9 Re: widget code on Wed May 19, 2010 8:32 pm

ankillien

avatar
Administrator
Administrator
Hello,

You can use the following code...

<a href="#" onclick="document.getElementById('infoBox1').style.display=(document.getElementById('infoBox1').style.display=='none')?'block':'none';"><img src="YOUR IMAGE LINK" border="none"/></a>

<div id="infoBox1" style="display:none; margin : 20px; padding : 10px; border : 1px solid #666; background : #FFC; width : 100px;">
CONTENT TOBE DISPLAYED GOES HERE
</div>

The bolded part "infoBox1" should be changed to "infoBox2" for the next box you add.

The underlined part can be customized as per your need.

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

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