Hello All,
I have been designing a website and some of my pages are rendering differently in my browser (IE8) to that of the entire school which uses IE7. For example I have a news page where the text is indented correctly alongside the image which is what I want to happen. However in IE7 all the text is knocked down below the image and ...
Hi,
I need to grab the URI of an iframe after "load" event. I have used contentDocument.documentURI so far, but it does not work in IE6 and IE7. What are the alternatives?
...
Im trying to build a list of id's in a textbox. Which works fine in IE and Firefox but not in chrome.
The list that is created is using String.fromCharCode(20) to separate the values. (im using this as the values could be any character so I need to use non writable characters like this and 17)
What happens in Chrome is it seems to remo...
How to call javascript in main window from iframe?
...
I have the following code:
Dim lStatementText As String
Dim lStatementString As New System.Text.StringBuilder
lStatementString.Append(RndRes.Forms.txt_request)
lStatementString.Append(" ")
lStatementString.Append("<b><a>")
lStatementString.Append(Request.ID)
lStatementString.Append("</a> - <a>")
lStatementString.Append(...
Hi. I am trying to display sets of images with up and down navigation in form of arrows. I have added
cursor:pointer;
to the arrows on hover to emphasize the clickability. However, when there is no more images in a certain direction, i set the class to disabled.
.disabled
{
cursor:default;
}
However, the hover pseudo class take...
Hello,
Is there a way to wait for hide function in a loop? I mean if I have this structure in html:
<div class='example'>
<span> One </span>
<span> Two </span>
<span> Three </span>
<div>
And in js I want to do something like this:
$('.example span').each(function(i, span) {
$(span).hide('slow');
});
I believe js is...
Hi All,
It's been a while since I created a new directory on my domain (call it my/domain/dir3). I have others, each containing a index.php (dir1/index.php - dir2/index.php), each index is called if the directory URL is called (thus a URL of my/domain/dir1 will call my/domain/dir1.index.php).
No the embarrasing part ... I've completel...
Here is what I am thinking:
I have long web page and when the user reaches the end, I don't want the scrolling to stop just then, but I want to reload the page again from the bottom and continue the scrolling.
Detailed
As the user scrolls to the bottom, I want the top of the website to be removed from the top and placed at the bottom...
I have three drop downs in mypage.php:
<select name='vehicle'>
<option value=''>Select</option>
<option value='bus'>Bus</option>
<option value='bike'>Bike</option>
<option value='car'>Car</option>
</select>
<select name='color'>
<option value=''>Select</option>
<option value='red'>Red</option>
<option value='blue'>Blue</o...
I need to be able to record keyboard events on elements that act like password (masked) inputs.
It sounds sinister, but I assure you it's not. I am not a phisher or scam artist of any kind. My users will be made aware that there behaviour is being analysed and are instructed not to enter a password that they use anywhere else.
With tha...
I was wondering can I wrap a span tag around multiple a tags and another span tag?
Here is the Html code.
<span>
<a href="#">link</a>
<span>|</span>
<a href="#">link</a>
<a href="#">link</a>
<a href="#">link</a>
<a href="#">link</a>
</span>
...
Hey guys, I have a search field that is not submitting when the enter key is hit, this issue is only happening on IE8, every other browser is working just fine (even IE6). Please guys I need a hand with his, find below the code I have for it.
<div class="box-search">
<input type="text" class="text-box" id="text-search" /...
Hello so i have two input fields (user & password)
I want to have in them "Username" and then when you click on it the text "username" goes away and are empty and you type your username. So like if you have pressed and you like click another way the Username comes again..
So only if there has been entered/typed something, and you click...
how do i disable an html element after checking in php if it exists? in other words, after the data has been inserted into the xml file the first time, the html textbox elements should be disabled, so that the user does not enter any more information in that textbox.
is this possible?
the code checks if the element exists, and if it do...
I am uploading files to a server using php and while the move_uploaded_file function returns no errors, the file is not in the destination folder. As you can see I am using the exact path from root, and the files being uploaded are lower than the max size.
$target = "/data/array1/users/ultimate/public_html/Uploads/2010/";
//Write the...
Hi All,
I have a mobile website and it has some HTML input objects in it such as:
<input type="text" name="txtAccessoryCost" size="6" />
I have embedded the site into a WebView for a possible Android 2.1 consumption, so that it will also be an Android application.
Is it possible to get the keyboard with numbers instead of the defaul...
Hello,
For some reason my Submit and Cancel buttons are not being wrapped in the form tag like I expect them to be (based on their position with in the form tag in the HTML) when I have their float property set to right and left respectively. The two buttons are positioned just outside & below the form div to the far right & left sides....
Here is the ASP.Net MVC2 code that I use to display a textbox input.
<div id="blackbar">
<p>Sistema de Evaluaciones de Docentes</p>
<%: Html.TextBox("termino","") %>
<img src="../../Content/search.png" alt="search" />
</div>
Here is how it renders:
<div id="blackbar">
<p>Sistema de Evaluaciones de Docentes</p>
<in...
On the mobile site I'm building, I need the top header to stay fixed positioned.
I am aware of the fixed position solution for Mobile Safari as seen here:
http://doctyper.com/archives/200808/fixed-positioning-on-mobile-safari/
I tried it and it works well. However, I was wondering if there's a single solution that works for all major...