


Is it possible to zoom into a <a name=""></a> section using javascript?I mean the same affect as reloading the page with the # method.Thanks!...
Hi,I have a function on my page to zoom in (for people who have not very goodeyes for example):var zoom_factor=100;function zoom(how){var bodyStyle = document.body.style;zoom_factor = (how)?100:110;zoomed = bodyStyle.zoom;if ((zoomed)&&(zoom_factor!=100))zoom_factor=parseInt(zoomed)*parseInt(zoo...
Hi,I have an image in a webrowser which is 3000 pixels wide so does notfit in the browsers window. It is a CAD drawing so needs this detail.Using the scroll bars makes the image difficult to view so I am lookingfor some code where I can set the view width to 1000 pixels and thecode will allow me...
Hello,I am working on a shopping cart page where I need to update the totaldisplayed based on a number of things.One of them is the percentage tax to calculate, which is based on thezip code entered.Those values are held in a database in 2 fields like this:11111 .0511112 .0611113 .07So, I've wr...
I've a page where users may enter a zip code (text edit) and I want to filla combobox with existing cities depending on the zip code entered.Let give an example.I've my text edit like:<input name="ZIP" type="text" id="ZIP" onKeyUp="fillcitycombo();"><select name="City" id="Cit...
Hello,I'm having difficulties to understand why the code below doesn't work.The idea is to generate an <iframe> with a higher z-index compared toan <object>. In Microsoft Internet Explorer 6, everything works fine,but Firefox/Netscape seems to have problems with this constr...
Javascript doesn't allow a hyphen in names, therefore when creating animage element in javascript and wanting to specify 'z-index', I had tospell it 'zindex'(image.style.zindex = 10;). But I am now confused asto the proper way to handle hypenated CSS names. The 4th editi...
I have 2 "divs" in my page, as defined below.Given teh z-index values, I would expect the text in the "flash" classto overlay the video div.. But all I see is the video div.Any idea what i am doing wrong.. happens in IE only..--<div id="tempDiv" class="flash">Text goes here</div><...
Hi grouphave a javascript drop down menu ...all works fine..then I put a flash movie in the center of the page and now the menu opensbehind the falsh movie ... how can I change it so it vil appear over theflash movie...I believe it has something to do with the z-index ...but the only thing Ican...
This function takes as an argument a positive integer and returns atwo character string representing the last two digits.<script type="text/javascript"><!--function zeroUpFront(nDigits){temp = nDigits;if (temp>=100){temp = temp%100;}if (temp<10){temp = "" + temp;temp = "0" + temp;...
HeloDoes anybody know? It is a stupid question, but i am a newbie with it.I tried to do like thisvar tree = new Tree.TreePanel('tree-div', {animate:true,enableDD:true,containerScroll: true});tree.click = function(node, e){alert('test');}but no result, where am i wrong ? May be event has to b...
I have been trying to implement Dustin Diaz's YUI Custom Events code onmy website. You can see his demo here:http://www.dustindiaz.com/basement/custom-events.html. My demo websitecan be found here: http://www.timothyrosenberg.com/test1.html. If Iput a javascript (like those that you get from fl...
I am using asp to produce xml data. The data successfully loads intothe YUI datatable using the code below unless I try to pass aparameter tomy asp page.Using var url="test.asp", the datatable loads without any problems,however if I use var url="test.asp?q=p" the table does not load. Itested the...
I have implemented ypSlideOutMenus(http://ypslideoutmenus.sourcef*orge...-comments.htm*l) on thisyet-to-open-officially site: Women of Substance(http://www.womenofsubstance.us*/catalog). The drop-down menu is workingfine (only optimized for IE currently) but I need some help as I amjavascript ch...
I review music clips and dance clips. I would like to see a "clapometer"tool which recorded my reactions as the clip progressed. It could be athimbs up and thumbs down icons, recording a timeline of mouseover events asthe clip progressed. This could be useful as feedback to the author, showingwh...
