html

disable mouse wheel scrolling while cursor over flex app?

Is it possible to disable mousewheel scrolling on my webpage while the cursor is over my flex application? My flex application is a map that allows user to zoom in and out using the mousewheel; however, when I put my flex app onto my webpage, the scrollwheel causes the page to scroll instead of zooming in and out... Edit: I have added...

downloading file from web page using php

Hi, My situation is when user enter the keyword associated with the video file and press enter.Out put is alll the details regarding video file which has match with the key word from MySQL DB.Now here I have stored video file in the server location and stored path of the video file in Mysql database. When user click on the name of the vi...

How can I make an existing AJAX form be iPhone compatible?

I was recently informed that my shopping cart application breaks when viewed in Mobile Safari (iPhone, iPod Touch). The "add to cart" forms use the 'progressive enhancement' approach to support AJAX updates using jQuery. Some quick testing showed that the functionality indeed works with JavaScript disabled. Everything I've read so far in...

What can I use to substitute    in HTML?

   is ugly, I think. ...

Select DIV with highest z-index

Example code so I can start explaining this problem: <div style="z-index:5">5</div> <div style="z-index:2">2</div> <div style="z-index:1">1</div> <div style="z-index:4">4</div> <div style="z-index:3">3</div> (z-index values do not matter, and their order, even less. Just example code) Problem: I want to select (either using CSS or JS...

Need advice on how to setup this rather odd site (in Django)

I could really do with some advice here. I'm new to Django, but understand the fundamentals. Though I need some advice on how to setup this site (that's not too conventional really). I have a client who has a site that is mainly static HTML pages (alot of them) which he prefers as he does the content in Dreamweaver. Trust me, I've tried...

Is it possible to focus the same textbox on it's onBlur() event?

I have HTML: <input type="text" id="text1" onBlur="focusMe(this.id);" /> and javascript function: function focusMe(Id) { document.getElementById(Id).focus(); } ...

add dynamically images to a fixed height and width DIV

Hi there; I am trying to add images and create a slide show in a fixed size div, when I add thumbnail image I would like to have for example 5 thumbnail side by side nad then move to the next row, I am using Ajax ReorderList to add images,how can I achieve this? any idea? Thank in advance ...

Matching a specific tag with a specific attribute without being greedy in vs-2005

I have a bunch of files (in the hundreds) that have img tags like the following: <img randomAttr1="randomVal" randomAttr2="valueRand" border="0" randomAttr3="someRandValue"> I'm trying to do a search and replace operation in Visual Studio 2005 that will identify a tag as an <img>, but only match the border="0" potion of the stri...

What is the sanest way to use global variables in Javascript?

What is the best way to use global variables in Javascript? Should I do document.x="this", document.y="that"? How will I avoid collisions in the long run? ...

mouseover on a div

All, How to get a mouse over text for the following code.On mouse over the text i have to display welcome. <div id="sub1 sub2 sub3">some text</div> Thanks.... ...

Element is undefined in a Java object of type class coldfusion.filter.FormScope

I have a form field and when filling the form , i am getting the error "Element is undefined in a Java object of type class coldfusion.filter.FormScope". It was pointing to the following code:- if(arguments.action eq 'addProficency') { // // CertificationArray = ArrayNew(1); //add the Certif...

choose the item of a select

Hello! I need to select a specific item of a combobox in my page when i click in a button. I am using php and javascript code in my page. Actually i am calling a javascript function at the "onclick" of the button. But i still dont get the right command to do this. example: <select id="TEST"> <option> a</option> <option> b</option> <o...

How do I have a TABLE grow to be the same height as its container? (or, battling IE JavaScript slowness)

I have a web page where I have a table nested inside of a TD tag (don't flame me for this, I have a good reason for doing it this way). When the page loads, I want to expand the height of the nested table to be the height of the TD cell that contains it. Currently I do it with code like this: $(document).ready(function() { $('.Tak...

Using More then one CSS style sheets in one html file

Hey guys, For one of my assignments I have to make 2 different CSS style sheets and I have done that. Now in the assignment it says that if I want to I can link the two style sheets to just one html page, so I'm guessing that there will be two options to switch between the two styles. My question: How do I achieve this? I heard that the...

Post to twitter help - using php

I am trying to post a url to twitter but the url is user generated and dynamic... <a href="http://twitter.com/?status=[urlencode('I'd like to borrow this item @neighborrow')].">TWEET THIS REQUEST</a> i started with that but its not catching the actual url- then i tried a few others but they seem to be for static urls do i have to us...

Can div really override table for everything on layouts?

Hi Maybe there is already a question about this subject, but I couldn't find it. My question is simple, Can I use only divs on a page layout? I got myself in trouble to create a div with corners for example. A_____B______C | | D E F | | G_____H______I take all letters as divs with some background,...

Best Way to Insert An Element With JavaScript

I have an HTML form which consists of several fieldsets (each has identical fields). I want users to be able to add additional fieldsets by clicking a button (jQuery). I can think of two approaches: Create a dummy hidden fieldset and clone it when the add button is clicked. Create a function that renders the fieldset's HTML from a stri...

PHP create image without declaring image header for entire page

I want to create several images with PHP on my webpage. Is there a way to do this without creating each image in its own PHP file and then placing the URLs to these files in img tags? ...

jQuery Select Plugin That Will Allow for Folder/File Structured Tiered Options?

Does anybody know of a jQuery plugin that will allow for what I'm calling "tiered options" within an HTML select element? By this I mean something similar to the folder/file structure system that you find on most Operating Systems. Here's a screen shot of what I'm talking about from Windows: I'm not as much concerned with having the i...