When I window.open("http://blarg") in chrome, I get a new tab. If I delay the open, say using a jquery $(hrm).animate({},5e3,function(){window.open(url)); it opens the url in a new window with no status bar, etc — if I give it permission to pop-up that is.
I'm looking for a way to get the instant behavior, that is, I wish to open a URL...
Hello:
I have a photo gallery I would like that every time a user does mouseover the image, there is a button on the top of this image that appears. The user can click on it.
But every time that the user mouse out of the photo it must disappear.
It works like the "change photo" in Facebook, with the photo of your profile.
The problem...
Hi,
How can I evaluate's document.write javascript to plaintext in C#? I'm trying to evaluate this:
<script type="text/javascript">
a=2;b=3;
document.write(a+"_"+y);
</script>
to this:
2_3
...
hi everyone,
I never understood how facebook left column links eg welcome, newsfeeds and photos, how this things wont open new page beside it open #link, do they have any server side check client side. and second thing how they open whole page in content div, yes you can do this with javascript but they dont have onclick event on that it...
I'm writing a plugin that will allow parameters to 'set it up.' But I predict the user won't always want to set up every aspect of the function.
function This_Function(a,b,c,d);
For instance, maybe they'll only want to set up a and c, but not b and d (they'll just prefer to leave those as defaults). How do I write the function (or the...
Hi,
I have the following Javscript code.
When the page is loaded it is scrolled to the right position. When I click on the link to run the function the page scrolls to the top of the page.
Has anybody any idea how to fix it?
<html>
<head>
<script type="text/javascript">
function scroll() {
windo...
I am creating a firefox extension. I want to get the URL of the current "top" firefox tab. How can I access this information?
...
Greetings and Hello
I am trying to put together a wordpress site, now because the content in the main div is going to be a different height with every page I need the navigation sidebar to stretch to the same height.
So with a little javascript tom-foolery I can get the sidebar to be the same height with the following code
function ad...
I am trying to create Google Chrome extension that will send interesting links to twitter. But, I am unable to connect to the Twitter. The server gets my request, but the response is always the same: "You do not have permission to access /1/statuses/update.json on this server (403 Forbidden)." I am using Wireshark to inspect Http respons...
My Page is 980px in Width, but I have a few design elements (which belong with the background). I positioned them with position: absolute;.
This creates a horizontal scrollbar for those who have a =< 1024 resolution. I disabled that scrollbar with overflow-x:hidden on (and for IE7 and etc).
However, when I hold my middle mouse button,...
Hey all, I am trying my best to figure out another way around this problem I seem to have encountered. On my website I have a jquery calendar and also a jquery div tab slider (this: http://www.queness.com/resources/html/tabmenu/jquery-tabbed-menu-queness.html).
The problem comes into play with the DIV tag. The calendar loads up inside a...
Hi there,
I have to call an ActionScript method via Javascript, but I have a problem accessing the flash object itself. I embed the flash file via the help of swfobject.
Previously, when I use the static publishing approach, I could easily get the flash object by calling these methods:
swfobject.registerObject("flash_object", "9", "ex...
Is there any open source tag editor for jQuery that works like the tag editor in stack overflow?
Thank you.
...
I want to create multiple versions of print-friendly pages from a single page. I am considering to do it in this way: placing several buttons on the original page and, clicking one button will popup a new window with the same html as its parent window, but with some modifications (e.g., set display attribute of some DIV's to none).
It ...
i need to trim a string to its first 100 characters using jquery/javascript.
also is it possible to scan a string and look for a particular combination of keywords such as #key?
thanks a lot for the help.
...
I am using the following code to make an unordered list into a carousel with jcarousel lite and jquery:
<?php echo $this->Html->script(array('jquery-1.4.2.min','jquery.easing.1.1','jcarousellite_1.0.1.pack','jquery.mousewheel.min'), array('inline' => false)); ?>
<?php echo $this->Html->scriptStart(array('inline' => false)); ?>
...
I am trying to make a Firefox extension which will use a webservice. I was looking online to find a way to do this. I was wondering if someone could explain what the following objects/methods do:
service.useService(___, ___);
service.<Service Name>.callService();
If there is an alternative that does not include these objects, I would...
I've created a wrapper function for jQuery's $.ajax() method so I can pass different dataTypes and post variables - like so:
function doPost(dType, postData, uri){
$.ajax({
url: SITE_URL + uri,
dataType: dType,
data: postData,
success: function(data){
return data;
});
}
The proble...
I need to change the font color of a div with the id name "nav" to white.
I did:
$("#nav").css("color","white");
This works for all the text that isn't wrapped in < a > tags but I need those changed too.
I tried adding:
$("a").css("color","white");
But that doesn't work. I also tried:
var changeAColor = document.getElementsByTag...
I've realized I need a full-fledged browser automation tool for testing user interactions with our JavaScript widget library. I was using qunit, starting with unit testing and then I unwisely started incorporating more and more functional tests. That was a bad idea: trying to simulate a lot of user actions with JavaScript. The timing iss...