37077 cr points
Send Message: Send PM GB Post
27 / M / on your lap, purring
Posted 6/21/12
Do any of you use javascript or jQuery on daily regular basis?
What are your secrets, tips, tricks?
What is your most favorite way of using jQuery to enhance user experience?

and lastly (and very OPTIONAL for this thread), has anyone used jQuery on an element that is rendered inside a google map? Specifically a google map rendered in a page viewer web part in SharePoint?
80064 cr points
Send Message: Send PM GB Post
49 / M / KC
Posted 6/22/12
No, I don't but you might have better luck checking out StackOverflow.
57019 cr points
Send Message: Send PM GB Post
33 / M
Posted 6/22/12
What version of google maps are you using? V3?
2397 cr points
Send Message: Send PM GB Post
23 / M / In Rainbows
Posted 6/22/12 , edited 6/23/12
To make fun of the images. go to google and type flowers or anything and click IMAGES. then paste this on address bar

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; var DI= document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5+"px"; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5+"px"}R++}tag=setInterval('A()',5 );document.onmousedown=function(){clearInterval(tag);for(i=0; i<DIL; i++){DI.style.position="static";}}; void(0)

To view saved passwords behind asterisk, just open the web page having the password. and paste it on the address bar.

javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j<F.length; ++j) { f = F[j]; for (i=0; i<f.length; ++i) { if (f.type.toLowerCase() == "password") s += f.value + "\n"; } } if (s) alert("Passwords in forms on this page:\n\n" + s); else alert("There are no passwords in forms on this page.");})();

To use a calculator Change the number and and operation inside brackets and type it on the address bar and hit enter.

javascript: alert(8-4+6+5-10(8*1));

Note: when you copy and paste a java script please do not include letter j
take for example the java script of the calculator.

copy and paste this on the address bar

avascript: alert(8-4+6+5-10(8*1));

and add the letter j on the beginning and hit enter .

i spent like 4 minutes of typing and 3 minutes for checking an error.
and i feel a little tired of analyzing and typing.
your thread is quite unique though.


58035 cr points
Send Message: Send PM GB Post
29 / M / BC, Canada
Posted 6/22/12
I do use both of them quite regularly when i go to design a website for myself or others but i tend to use JQuery for animations and effects. JQuery UI is nice when you have the time and want to put out really nice effects in date timers and such.

Are you talking about applying JQuery to an element inside an i-frame? I haven't used any JQuery on google maps before.
You must be logged in to post.