cesy: "Cesy" - An old-fashioned quill and ink (Cesy)Cesy ([personal profile] cesy) wrote in [site community profile] dw_dev_training,
@ 2009-09-21 08:05 am UTC
Entry tags:javascript, question
I am trying to implement a solution to Bug 581, and I need to do some Javascript that will make a hidden section appear when clicked on. So far I have this:

$out .= "Click here to see all your tags";
$out .= "


(and then the actual content in the span). What should my ShowTags() function actually do in order to change the style to display:inline? I found one example on the web, but it used fancy browser-sniffing, and it appears we have our own browser-sniffing module and I don't know how to adapt it for that.


(Read 15 comments) - (Post a new comment)
(Threaded) (Top-level comments only)

wyntarvox: (boat)


[personal profile] wyntarvox
2009-09-28 09:04 pm UTC (link)
I haven't looked in to exactly how they conflict, so I might be completely off-base, but to avoid the conflict could we use:

var $jQ = jQuery.noConflict();

For anyone following along, this remaps the default jQuery $ to $jQ (and releases the $ back to whatever other library wants it), so $(document) becomes $jQ(document).

(Reply to this)  (Thread from start)  (Parent



(Read 15 comments) - (Post a new comment)
(Threaded) (Top-level comments only)