GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   A little jQuery help (https://gfy.com/showthread.php?t=966627)

Bird 05-03-2010 05:11 PM

A little jQuery help
 
I got this jQuery fucntion I want to call like <a href="#" onclick="SomeJqFunc();">click<a>

what can I do to show the jQuery fuction....in the onclick= SomeJqFunc();

Im looking to just show() a Controls container from here myViewport.find('.panorama-control').show();


This did not work..
a href="#" onclick="myViewport.find('.panorama-control').show();">click<a>

ProG 05-03-2010 05:45 PM

What is 'myViewport'?

Bird 05-03-2010 05:58 PM

I got it.... <a href="#" onclick="$('.panorama-control').show();return false;"

fris 05-04-2010 07:32 AM

or you could just assign an id to the href so you dont have to put that onclick in every a href, and let jquery handle it

Serial Pervert 05-04-2010 07:34 AM

wish i could help you...


All times are GMT -7. The time now is 02:58 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc