Basically stumbleupon is a cool social bookmarkingesque site. And it has over 10million users. For this reason I would like to add the stumbleupon follow button on my site.What is itumbleupon.com/stumbler/stumbleuponou'll see there's a follow button on the top right hand corner. Now if you click on that not logged in, you'll be sent to a different page. If you're logged in however, you'll be subscribed to the user.Fellow JavaScripters, is it possible to implement the button onto a different site? If so, how?
I'm curious to see where the passwords go. I figure it's a scam, yeah =D, but I can't see where the passwords go. I see that you're transported via /pass123.php to /submitted.php, but what happens in between?
I have a spokerperson on homepage of my website but there is no stop button to stop her. Its a script code I got from other company and I just put that in my files. Is it possible to put like a start and pause button for that spokeperson? Check on homepage [URL].
My goal is to create a mouse action that makes an image follow the cursor, but ONLY when the cursor is above another element (in this case another image). If I just add "onMouseOver="cursorInit()" it works great to start the object once the cursor is over the second image, but how do I make the event die onMouseOut? I think I need another function, but I don't know how to kill these events. Code:
I'm using the Thesis Theme for wordpress (if that means anything to the potential answer to my questions) and I would like to insert a text enlarger/reducer button to my site to make it more accessible to my older clientelle. I've found code out for this use, but I cannot figure out how to add the code in my custom_functions file and then place it within my html pages.
I need to execute a function after a link to a section within the same document has been clicked and the navigation has occurred. When using the onclick event handler the JS function is executed before the navigation occurs. I can't tie it to a window.onload event since the link only navigates within the already loaded document.
I'm not having any luck searching due to not knowing what keywords to use. I looked at an explanation of bubbling vs capturing, but that doesn't appear to be what I need.
I have a javascript code which makes a word toggle links under it. For example: Before clicking on it it looks like this: Stories: then once its clicked on it looks like: Stories: story 1 story 2 story 3
How can I make it so when you click stories it creates that list and also goes to story 1. Here is the code I have: Code: <h2 style="margin-left : 25px;"><img src="/images/sort_ASC.gif" id="img_DegreeList5" alt="" /> <a href="javascript:toggleDegreeList(5);" style="color:#336699;">Teaching Tales</a></a></h2> <div id="DegreeList5" style="display:none;"> <ul><ul> <li><a href="teaching_tales1.php">Story 1</a></li> <li><a href="teaching_tales2.php">Story 2</a></li> </ul></ul> </div>
And here is the toggledegree script Code: <script type="text/javascript"> var currentDegreeList = null; function toggleDegreeList(which) { if(currentDegreeList) { document.getElementById('DegreeList'+currentDegreeList).style.display = 'none'; document.getElementById('img_DegreeList'+currentDegreeList).src = '/images/sort_ASC.gif'; } if(currentDegreeList != which) { document.getElementById('DegreeList'+which).style.display = 'block'; document.getElementById('img_DegreeList'+which).src = '/images/sort_DESC.gif'; currentDegreeList = which; } else { currentDegreeList = null; } } var submitted = false; function submitForm() { var val = (submitted) ? false : true; submitted = true; return val; } </script>
If you actually want to see the live page its here [URL].
I wish to make onmouse over image following cursor! (it is not advertise, so i hope administrators will not banned my link, its just example what i wish!)
[url]
-It working even in IE6 without asking to allow JS!
I am trying to use slideToggle to drop down a hidden DIV.This hidden div is in the footer.As the div drops down, I would like that the window scrolls down with the div rather than just opening the div and forcing the user to then scroll down with their mouse.I tried setting the button to an element below the DIV as follows <a href="#element below hidden div"></a>And it works sorta, but not completely.
I was wondering how and I tried creating a div that is a child of a div with its same width, but the length of the entire page.So in a way it is like a scroll-bar except the user can not move down the page by holding the smaller inner div (square). The small square just moves down its container as the mouse moves down to The bottom of the page.but since The square inner div is in a container, with the same with, it can not and will not be able to move horizontally.
I'm having problems performing a simple load(...) request to bring in HTML content from a partner Oracle system within the same domain. Our portal has a built-in SO connection will handles security for me transparently. However during the process it initiates a 302 temporarily moved response which seems to trip up an AJAX request, but doesn't trip up Firefox when accessed through the address bar. If I use the same URL in an IFRAME it's totally fine.
After tons of googling, searching the forums, and the bug tracker database I cannot find anyone who has experienced this problem. Before I open a bug ticket I'd like community feedback to help me see if I am doing anything wrong.
Below is an example of a synthetic click in Firefox. The browser does not follow the link. Is that the just the way synthetic clicks work of am I doing something wrong? I know the synthetic click occurs because if I add an onclick attribute to the link the handler runs. Any ideas? Code:
this may be more of an "html" issue, but I'll wing it.
i've got a multi-language site, where the home-page of each language group features a link to a popup window that offers background info on site management. the popup is fired by a javascript function, when they click the site management link. there's also a "window close" function button so they can nuke it as they please.
now, oddly, people who search for my site in the chinese language on google, are sent directly to the site management popup window, which of course, opens in their "full" browser window, and which also has no links back to the main site, because it's meant to open only as an "accessory" to the main site.
my question is this: is there any way, with Javascript, that I could determine if they arrived at this window from "off-site" (ie, a google search), and therefore offer such "off-site" visitors a link back to the principal site, a link that would be hidden for visitors who clicked the popup window from my own site?
Basically, I registered for a free board at one of the various sites because my server doesn't support .cgi scripts. I want to know if there is a way to have the data from a form on my site post to the board site -A user would fill in my form, click submit, and a new post would appear on the board site -as if they had entered it there. If you can point me in the right direction, I would be grateful. Here is my thinking.
A) I can't locate the script that they use to perform a "submit"; so I thought I might enter their <head> data (as far as xmlns, href, etc) in my <head>; that my website might call up their script files, css sheets, etc.
B)I could code my own Javascript function to send my form data to their site. If I knew how to simulate a mouseclick on someone else's site, I could have the script "click" there, paste the data, and hit the submit button. But I don't.
C) I could size their site down to the form itself and put it in a frame on my page
Option C is clearly easier, but I would prefer option A or B. I have time and will happily do the research myself; provided that I know if approach A or B is even feasible.
I'm making a fansite for a game called RuneScape and I'm a bit stuck on this part.
What I need for my website is, a page that will have the prices (min, middle, and max) of things from this [URL] or other items, which will be chosen later on.
Here are two example sites that I am wanting to ... do the same thing as them.
I was looking at the Web SQL spec on the W3C site (here)the example code
Code: function prepareDatabase(ready, error) { return openDatabase('documents', '1.0', 'Offline document storage', 5*1024*1024, function (db) {[code]....
I don't understand how/why prepareDatabase is set twice.Is there a term for this? I can't for the life of me think what it is. I know I've seen it before though.
I wondered if there was a way to blur my whole site except a popup-div when a link is clicked - just like lightbox fades out the page, just with a blur effect instead:[url]...