I have an iframe on a landing page and I want to break the frame upon the viewers submit. When the viewer goes to the second page the frame cuts the image on the page is there a way to break, if I don't control the iframed page submit button. Could i frame my own button over the existing and have it scripted to "push" both buttons one to...
I have a calendar control with various days as various colours.
I want a legend at the bottom, basically three coloured boxes + text
X bibble Y bibble Z bibble
XYZ are different coloured boxes
I am wondering what a nice way to do this is. Should I dive in with tables, or use divs or some other control with CSS applied? Any elegant...
When doing a background in css I am usually just using a gradient background that starts at the top, then eventually ends a solid color. So I slice up a thin layer of the gradient, repeat-x, then have the background set to a certain color
(background:#color url(image location.png) repeat-x)
However I am faced with a unique obstacle I...
I need to hide horizontal overflow of a html element but not the vertical overflow. So assume I have the following HTML:
<div class="container">
<div class="inner">
<p>content 1</p>
</div>
<div class="inner">
<p>content 2</p>
<p> and then some more stuff</p>
</div>
</div>
The CSS I wanted to use was something like:...
I have a little tool on a web page that can be clicked and dragged along a horizontal line. First I had the drag handle as an img. I had some problems with layout and realised later that it would probably be better to use a div with an img background.
So I changed the drag handle to use a div, and I discovered a pretty obvious error in ...
I have an example of a simple HTML table that contains a number of div blocks.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head></head>
<body>
<table border=1 width="1000px" >
<tr><td></td><td></td><td></td><td></td></tr>
<tr valign="top"><td col...
I've just spent the last month or so designing a new layout for my website. I think it's about perfect, however, I've discovered that there's something stretching my site horizontally beyond the page width. I've searched through my code and I can't seem to figure out what it is. If you check out my test page, you'll see that there is ...
I am developing a script in PHP for uploading files to a MySQL database. There various things that need to selected in addition to the actual file that go into the database entry. The script needs to be designed so that it checks to make sure all of the proper selections have been made, and if they are not the script returns to the upl...
ComponentArt home's page has a top dropdown nav menu. I like it's professional look with the image and bordered item container. I was wondering if there are any free similar components with can be used in asp.net pages. I am not looking for any dropdown menu. I am looking for one as close as the one I mentioned. JQuery ones are fine.
...
I have a form with an array of text fields. The user (through javascript) can add an arbitrary number of text fields to the form. After submitting the form and pressing the back button the form displays only with the fields that were on the original form when it was first rendered (any added text fields are lost). What is the best way...
Using jQuery, when you set a blur event on a text box and set another element as draggable, when you click the draggable element, the blur event does not fire in FireFox. IE is a little better, you get the blur event but you don't get the click event on the draggable element.
If you don't specify the cancel: "" in the draggable constru...
Hi all,
I was wondering if there was a way to format 2 strings in a selectlist and display them as following:
String begins with Item1 and spaces following it until 10 spaces are taken up followed by a Delimiter "|" and string 2
So all Selectlist items binded to a drop down list will be displayed as following
Item 1 |Name1
Item 2...
I want to pass a variable in my parent window to an iframe html document (child).
Example: var myValue = 10;
want to pass myValue to a child element (hidden input)...
How would I do this?
...
I need to pass the filename of a file-input to a parent page... is this even possible?
The input type ="file" has a value, but can I use it like this?
I have used the value of the file-input to check the extension of the file, and it works!
So I guess there is a value, but can this be done and is it reliable?
If not, how would you hav...
Is it possible to HAVE a bullet in front of a <dd> tag just like <li> i cannot use <li> because i need to validate and <dl><dt>and <dd> is just fine
...
I noticed an issue where with the following HTML:
<html>
<head>
<title>UrlEncode Test</title>
</head>
<body>
<a href="http://example.com/Process.php?OrderID=y%2bog%3d">Process</a>
</body>
</html>
Instead of replacing %2b with +, Firefox does so with a space instead so that clicking on the link ...
I know that h1 tag is important for SEO, so all my title is H1 (bravo!)
now i need to have title (as the first line of a texte) a little different on some page
usually i just duplicate h1 as h2 and alternate
the question: is it possible to add a class to the title tag... (i have try without success)
...
I have a one page site that has PHP code in it. Once the user presses 'Send', this sends the information to my email, then displays a messagebox saying that the action was a success to the user - great.
After the messagebox is closed, the website stays at website.com/report.php. Is there a way to redirect it back to the original page.
...
I need to be able to have the next element / previous element to change the background color with the current element. How do I do that. The element that I am working is TR, table row, and nextSibling, previousSibling doesn't do the trick for me, don't know why ?
...
I'm looking for a drop-right menu, not dropdown. Based on list of lists, ex html
<ul>
<li> item1
<li> fold1 <ul><li> fold1it1 <li> fold1it2 </ul>
<li> item2
<li> fold2 <ul><li> fold2it1 <li> fold2it2 </ul>
</ul>
When you mousover fold1, it would expand to the right right (drop right)
item1
fold1 fold1it1 fold1it2 fold2it3
...