I made sure that pop-ups weren't blocked. I did look at the error message generated by IEv6 and it says "Invalid Argument" for the line
window.open(url,'details', 'width=750,height=700,scrollbars=yes');
I don't understand...I really don't see anything wrong with it. Any help is appreciated.
I have been trying everything to make the following code work in IE. It works fine in Firefox. Any suggestions?
This is in the head tags:
<script language="JavaScript" type="text/javascript">
function newwindow(url) {
window.open(url,'details', 'width=750,height=700,scrollbars=yes');
}...
I am using the following code to display a few lines of text from a text field in my database.
echo substr($row['item_text'],0,256)
This works fine, cause at least it only shows only the first few lines of text, but really what I'd like to accomplish is only showing the lines surrounding the...
I'm trying to make navigation easier for users. I would like to limit the page numbers shown to +/- 5 pages from current page, whereas currently it lists them all.
I've been trying to mess with the following section of my code, but to no luck, but it seems the answer is in this area of code...
I have text boxes on my form for users to enter a range of numbers that they would like to see in the database. I would like to query to ignore the range if the user does not enter anything in the box.
To do this, I basically said if the variables are empty to reassign them with the minimum...
In my form, I'm trying to pass the following values to a MySQL query.
Sort by:
<select name="sort" type="text">
<option value="Title, Author">Title</option>
<option value="Lexile, Title">Lexile</option>
</select>
For some reason the MySQL totally ignores the values posted and does not...
Thanks to everyone who responded. The easiest solution was to execute the code with the OnLoad event, so I didn't even use the menu in the end. I'm sorry if I caused any headaches.
It is a dreamweaver menu, but anyhow, what I was trying to do was use an OnClick event that when a user clicked "purchase request" on the drop down menu, the following code would execute:
function requestItem() {
var is_sure=window.confirm("Click \"OK\" to confirm that you have searched the \n...
I would like a certain event to occur when a user clicks on "Purchase Request" in the menu.
Following is the script that generates the menu. "Purchase Request" is the second item in the menu.
window.menu_0 = new Menu("root",130,16,"Arial, Helvetica...
I am trying to make a simple confirm box that would display "Yes" and "No" on the buttons. All I get is the Ok/Cancel combination.
How can this be done or can it be done?
Thanks.
I have the following code that Firefox does not recognize:
l.style.cursor = "hand";
In iExplorer, it works fine, but Firefox doesn't like the hand. I've tried switching "hand" to "pointer" and it still doesn't like it.
Any suggestions. I've noticed that Firefox doesn't like a lot of my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.