Reputation Activity
-
Willows reacted to Lyndsey in Toggle DivYou can use a class instead, something like this:
<div class="js-toggle"><a href="#" class="signup-a">Link 1</a></div> <div class="hide"><p>link1 info div</p></div> <div class="js-toggle"><a href="#" class="signup-a">Link 2</a></div> <div class="hide"><p>link2 info div</p></div> Then your jQuery:
$(function() { $(".js-toggle").click(function() { $(this).next().toggle(); }); }); Note: $(function() { }); is a shorthand version of document ready.
Example:
https://jsfiddle.net/u8Lp93wo/
Update: Alternatively, you can use the href attribute of the link to determine the target of the toggled element, for example:
<a href="#link1" class="signup-a js-toggle">Link 1</a> <div id="link1" class="hide"><p>link1 info div</p></div> <a href="#link2" class="signup-a js-toggle">Link 2</a> <div id="link2" class="hide"><p>link2 info div</p></div> https://jsfiddle.net/u8Lp93wo/1/
-
Willows reacted to Leonvv in toggle div style problem.Do you have a link ?
That makes helping a lot easier.
Léon
-
Willows reacted to Jack in Selling a DomainAccording to http://www.valuate.com/ it's worth $170 but I would be a bit skeptical about that. I can't see there being much of a price tag for this domain, probably somewhere in the region of what you paid for it. The official movie already has a site and established fan sites already exist.
You could try auctioning it Sedo to see if any domain buyers would be interested.
-
Willows got a reaction from Kaskhautual in Selling a DomainHi
First of all forgive me if i have posted this is the wrong section.
I own a domain name "TheBookOfEli" .co.uk and im wondering whether it would be worth any value of such? Obviously its related to the Box Office movie!
Is there any way of getting some sort of value on it or any recommendations where I could sell it?
Cheers
Willows
-
Willows reacted to evu in DIV height change ease on hoverYou can do it quite easily in css.
If you want to support older browsers you'll need to use jquery .animate() or something, though.
~evu.