Please check this link:
http://www.kings-mall.co.uk/index.php?id=5
Check the mall layout, it's done in flash. I was wondering if this can be done in Javascript or DHTML? But the list at the bottom would be links instead. When the mouse hover at one position/category like 'Fashion and Sports' it would highlight a lot of links and its po...
I'm not really sure how to describe what I want to do, but I'm sure I've seen it on many sites before.
Basically, when someone clicks a link, it should show an element which contains some text and dims down the rest of the site so that the users focus is directed towards the element. It shouldn't let users click in the dimmed area eithe...
I am launching a popup window with window.open(...) and I pass an elementId to the new popup window.
Then during startup of the popup window I find the element in the opener window that matches the elementId passed to the popup. Then the popup subscribes to events on that element using jQuery.bind(...). Then from inside the opener win...
How i can do a alignement of table div inside div to align=center
...
I'm new to JQuery and don't have a huge background in Javascript, either - so that could be contributing to my problems... I'm trying to dynamically generate a list of items and bind click events to each of the dynamically generated elements. I can create the list and successfully bind the click events, but then I ran into a stumbling ...
I am dynamically adding a relatively large number of small images to a page. I make a XMLHTTP request which returns some JSON data of the form
{images:[
{url:'/image?id=1',
width:32,
height:32,
label:"Foo"},
{url:'/image?id=2',
width:32,
height:32,
label:"Bar"},
....
]}
I then construct some HTML of the form
<ul>
...
I've added the calendar from http://www.dynarch.com/projects/calendar/old/ onto my wordpress site. It loads fine but I don't want people to select dates in the past which I've managed to do but want to add a strikethrough but don't know how. Please help.
Thanks
...
I load content to the using AJAX.
in content you can find this line of code:
<input onfocus='searchItems("sContainer", this)' onblur='searchItemsStop()'/>
first time when I load the content onfocus and onblur events works. But when I reload the content onfocus and onblur stop working.
in firebug I noticed that for every reload of co...
Hello,
I have a site where I have to dynamically load images. I must know their width/height before laying them down, so I am using the onload event handler. What I found anyway, is that sometimes those values are 0/0 even in the handler (this happens on Chrome and as I am targeting webkit, this is the browser to use). Is there any way ...
Hopefully this is possible by invoking a method that gets executed by browser internal code.
Given a point x,y in dom coordinates. (that is can get relative to any node)
in an element containing text I want effectively
charIndex = characterUnderPoint(textNode,nodex,nodey);
I figure if there is some sort of facilty to do
range = xx.c...
I'm changing the layout of a web app that we are developing internally and have identified a few spots where a menu would be much more helpful than our currently layout. The project is currently built on Zend Framework and jQuery. Are they any good examples of context menus, or just menus in general that I should check out for inspiratio...
Hi All
I'm writing a BHO that analyze the HTML taken from the 'onDocumentComplete' event of 'DWebBrowserEvents2'. Currently it works fine, unless I have a DHTML/AJAX page, where HTML handle is delivered too soon.
For sample, I tried using it on 'http://www.google.com'. From the 'onDocumentComplete' event I can get most of the page but ...
Hi
How to find Masterpage offsetheight and offsetwidth using javascript ?
Regards,
kumar
...
I have a typical setup for cross domain.
site1.company.com
site2.company.com
Main application is running off of site1.company.com. Trying to get communication working between the a parent frame from site1 and child frame from site2
Both site 1 and site 2 are setting document.domain='company.com';
The communication works fine both ...
Hello all,
I am new to drupal so forgive me. I made a menu and it was automatically created as a DHTML menu. I wanted to style the menu myself and just simply want the 'ul.menu' tree to be printed. Instead, it's doing some javascript and unnecessary CSS. can i disable DHTML menu for this particular menu?
thanks!
...
I am using javascript to dynamically build a grid of input elements in HTML. Each row has 4 input elements and the user can add or delete rows as they need. Each time they add or delete a row, I am rebuilding the grid dynamically.
My problem is after I build the grid a second time, I cannot reference any of the elements. I believe the...
I have a timed event I want to behave differently accordingly to what HTML element the mouse pointer is on.
Is there a way, assuming I have the HTML element, to know if the mouse pointer is currently on top of it.
I am well aware of the onmouseover/onmouseout events and how to use them.
I am using JQuery.
I am obviously looking for some ...
Sample HTML Data
<body style="width:300px;">
<h3>Long-Text</h3>
A simple tool to store and display texts longer than a few lines.
The search button will highlight all the words matching the name of objects that are members of the classes listed in searchedClasses, itself a member of the KeySet class. The highlighted words are hyperte...
I'm trying to prevent the user from clicking on more than one postback-causing element on the page. In other words, if they click the 'continue' submit button, they shouldn't be able to cause another postback before the original request comes back.
I've had a go with two versions of jQuery code. Neither does exactly what I want:
This ...
I've been doing ruby and rails for a long time but am a newbie when it comes to the more dynamic elements (currently jrails and jQuery), so it's entirely possible I'm missing something.
That said, I've got a page where multiple elements need updating from multiple sources. For example, a dynamic header comes from one source and 5-6 d...