That was my bad, i was playing around with existing code and forgot to take it out.
Here is the code now
startList = function() {
//alert("starting");
if (document.all&&document.getElementById) {
if (document.getElementById("headerNav")) {
navRoot =...
Hi, i am trying to position an iframe shim behind a <ul> when it appears using mouseover. Just wanted some help on how to do it, possibly using getElementsByTagName().
The following is my markup example.
<div id="headerNav">
<ul>
<li id="header_nav1" class="nav1"><a href="#">N</a></li>...
I am trying to do the below in part of my function..
keep getting
error '800a0402
Argument type must be an integer.
I heard you can't use variables as an argument for creating arrays in vbscript, anyone know any different? or a way around?
Function displayRandomKeyProducts(rsJ...
Hi, is there a way to have checkboxes in excel that when ticked as an option.. they add a paragraph of text from a separate word document or from inside the same excel sheet... into another word document..
Eg. tick 3 of 5 options, once ticked the 3 options descriptions are put together in 1...
The below shows a couple of functions to create the options for a select box. They don't cover much but still working on them. The arguments beginning with ex don't seem like the best way to do it. Anyone have any ideas on how to refine these?
* this method gets data from 1 lookup table for...
Hi,
I was wondering how to get text inside a div to scroll up and down when hovering over an image of an arrow.
Often people use flash to do it but i dont want to.
The html tag <marquee> is an option to make it scroll vertically so maybe i can wrap all the text inside the <div> with that and...
Sorry my fault it does work usually.
It wasn't working in this case because my form was inside table.
The css i think would of needed a change so i just put the form tags outside the table and left the form elements inside.
Now it works.
form label {
font-size: 8px;
font-weight: bold;
color: #376EB1;
font-family: Verdana, Arial, Helvetica, sans-serif;
width: 100px;
}
This works fine in IE but doesn't do anything in Firefox, could anyone shed some light on a reason or work around? Thanks
Hi,
I was wondering how to get text inside a div to scroll up and down when hovering over an image of an arrow.
Often people use flash to do it but i dont want to.
The html tag <marquee> is an option to make it scroll vertically so maybe i can wrap all the text inside the <div> with that and...
Hi,
What do you do if you want to search for someones surname if it is something like O'brian etc.
For instance the sql where clause is:
WHERE surname = 'o'brian'
would be incorrect.
It returns an error of Incorrect syntax near 'brian' because of the '.
I use
surname =...
For anyone interested in this one, i have fixed it now and changed the css quite a bit. I missunderstood what was being floated, which made it confusing but now i have finished it.
CSS
#menu {
position:relative;
width: 100%;
height: 25px;
background-color: #376EB1;
float: left;
}
#menu...
Hi having a problem getting a menu's links to line up next to each other with no gap.
Here is my html:
<div id="menu">
<ul>
<li><a href="#">Link One</a></li>
<li><a href="#">Link Two</a></li>
<li><a href="#">Link Three</a></li>
<li><a class="apply_online" href="#">Apply...
I have got a SELECT statement that returns a recordset, with one of its values being 'acId'.
acId is either null or an id number.
Eg. In the Microsoft sql server database table the value in the acId field for each record is either <NULL> or an id number acting as a foreign key.
The below if...
I figured it out and wrote this before your replies.
UPDATE COM
SET managedBy = USERS.id
FROM (SELECT id, code FROM USERS) AS USERS
WHERE COM.managedBy = USERS.code
I take it yours works as well but i have nothing to test it on now..
Thanks for the help
Hi,
I have an old database layout that is still being used and i need to change the design.
I have 2 tables.
COM, USERS.
COM has a 'managedBy' field which contains a foreign key from USERS.
USERS has the following fields,
'id','username','access','active'.
At the moment USERS.id is a...
Yea that is what i am trying to do at the moment, i am just not sure how to get it working correctly.
In the code above i have set the rs.PageSize, which gives me the right number of pages but then i have used a recordCounter variable.
The problem i have is that each time page 1 is clicked it...
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.