I've started using the button element to submit my forms
<button type="submit">Send</button>
I know if I used an input element like so, I could easily determine in PHP which form was submitted (by reading the value of $_POST['form'] in the example below).
<input type="submit" value="Send" name="form" value="contact" />
Is there a ...
Hello Everyone...
I want to display an uploaded images into my web page.For doc files i used file_get_contents for displaying the data(not displaying exactly) but in case of images i dont have any idea.Plz tell me
...
Hi all,
I am trying to implement the same scrolling effect in the apple iphoto album. Hope you have seen in apple iphoto that when we move the mouse over the album, the images inside it will be shown one by one. Anyone knows how this is implemented.? i am trying to implement the same in my HTML page.
Please Help
Thanks,
Shibin
...
I'm working on a script where all I want it to do (right now) is redirect the user based on which button they press. Eventually it will take form input and incorporate that into the redirect, but right now I'm just trying to get the buttons to send the user off to the appropriate site. However, My redirects aren't working.
<html>
<hea...
I'm having a few small issues with my css that I need help with...
In the following site...
http://www.echo143.com/Site/
I'm looking to extend the "block_content" and footer to the complete width of the page.. the blue and pink div's... But it doesn't seem to want to do that even if I put width:100% for the div's...
Suggestions?
Than...
Hi everyone,
I've an unorderedlist something like this.
<ul class="simpleTree">
<li>
<span>root</span>
<ul>
<li >
<span>Tree Node 1</span>
<ul>
<li>
<span>Tree Node 1-1</span>
<ul>
<li>
<span>Tree Node Ajax 1</span>
</li>
<li>
<span>Tree Node Ajax 2</span>
</li>
</ul>
</li>
<li>
<span>Tree N...
I have an ActiveX object that I made with C# and registered in the system. I'm loading it with JavaScript in HTML like this:
<object id="myComComponent" name="myComComponent" classid="clsid:MY_ACTIVEX_GUID"></object>
This works fine. Now I want to open a file that exist in the same directory as the html inside the ActiveX object. The ...
I have a requirement to have a universe type menu, where there is a main item in the center, and "X" amount of items around it. (ie: sun with planets).
I have searched high and low for an example, and all of the search results points to using css, but this requires manually figuring out the position of the items.
How can I create a men...
I am using google map in my website ,and I'm facing one problem with iframe:
If I call google map in the <iframe> the dragging section is coming struck in firefox and google chrome.. but in internet explore is working but a small struck i facing..
How can I remove this dragging problem from google map? I face this problem only in ifram...
Is there any way to set the HTTP header fields of a HTML form submit request?
I need to make an authenticated request to a URL, so i need to set a header field. I can't use ajax because of cross-domain restrictions.
...
Hello, here's the situation: I have a where in every cell all the area has a onclick event that opens a edit form, let's call this A. In the same cell, in a corner I also have an 'X' to delete the object represented in that cell, also with an onclick event in this case with a Yes/No warning, let's call this B.
When I click on the X (on...
if i want that my textarea will be hidden how i do it
...
What is the best way to display a drop down menu? for the sake of best practices.
keeping in mind:
-Accessabilty ,
Its viewable with javascript off
screen readers
-backwords capatabilty ,
viewable in IE6
-cross browser
I'm asking this because I've recently been working on some site that have css only drop down menu's that do n...
Hi
I have in my page a movie that i call with :
<object width="500" height="405"><param value="http://www.youtube.com/v/_wKFwii6LF0&amp;hl=fr_FR&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;border=1" name="movie"></object>
In Chrome it is displayd, in IE and Mozilla, there is an error...How can i debug...
...
I have a iframe in a page
<iframe src="page.aspx" >
I don't know how big the thing is going to be. How to get the height? May be jquery would be good here beacuse of browser indifferences.
// sth like this.
currentfr.contentDocument.body.offsetHeight // NS
currentfr.Document.body.scrollHeight // IE
...
Lets say i have 50 element grid. If its wide list it is easy for readers if i color odd and even div differently.
Now lets say i want to do this and color code every 5th div. Is there a way to choose which css to apply based on a number? like instead of
<div class="odd">blah</div>
<div class="even">blah</div>
<div class="odd">blah</div>...
As you all know Asp.net 3.5 and past generations Rendered as Table ( TR - TD ) form and this makes it heavy to load and blah blah blah.
Microsoft change the rendering methods of this control from table to UL LI in Asp.net 4.0
As I am using Asp.net 3.5 , Is there any solution to force this control rendered as a UL LI ?
...
I have this the html below and in my CSS I write .CommentSection :nth-child(5n)
Instead of every 5th comment box being changed li .Hide is being changed an other elements. How do I make it so only the direct children (always div class="comment") are counted and applied to and not counting its children?
<div class="CommentSection">
<d...
I want to merge one HTML file into another. Not just include it, but merge.
Example
master.html:
<!DOCTYPE html>
<html>
<head>
<title>My cat</title>
</head>
<body>
<h1>My cat is awesome!</h1>
</body>
</html>
_index.html:
<!DOCTYPE html>
<html>
<body>
<p><img src="cat.jpg"/></p>
</body>
</html>
Now I merge ...
I would like to have a link with looks something like this: Call to Action. However, if the javascript hasn't loaded completely and a user clicks that link, they will be redirected to a php script which spits out json. Alternatively, I will likely do something along the lines of Call to Action.
Is this the best practice for handling t...