Is this Javascript or ASP?
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not enter therein? Ah, no! [...] Then, yielding to our intellectual onset, the gates of the Sixth Dimension shall fly open; after that a Seventh, and then an...
Something like this?
function changeBox()
{
var w = screen.width;
var x = 0;
switch (w)
{
case 1024: x = 256; break;
case 800: x = 200; break;
default: x = 100; break;
}
var elem = document.getElementById("box");
elem.style.left = x;
}
--Chessbot
"In that blessed...
Ok... can you give me the layout of the database tables?
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not enter therein? Ah, no! [...] Then, yielding to our intellectual onset, the gates of the Sixth Dimension shall fly open; after...
lol ... np.
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not enter therein? Ah, no! [...] Then, yielding to our intellectual onset, the gates of the Sixth Dimension shall fly open; after that a Seventh, and then an Eighth -- --"...
If you are really looking for picky --
In the first page, I did not immediately see that the titles ("Who We Are", "What We Do", etc.) were links. Not sure if you want to change it, or how, but you did ask.
Very nice site though.
--Chessbot
"In that blessed region of Four Dimensions, shall...
How about this?
var week = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
function nextXWeekdays(start, x)
{
while (x>0)
{
start++; // increment current position
if (start == week.length) // if over
start = 0; // return to beginning...
Doesn't that give you the width of the entire monitor?
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not enter therein? Ah, no! [...] Then, yielding to our intellectual onset, the gates of the Sixth Dimension shall fly open; after...
For non-IE:
position: fixed;
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not enter therein? Ah, no! [...] Then, yielding to our intellectual onset, the gates of the Sixth Dimension shall fly open; after that a Seventh, and then an...
Try
screen.availWidth
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not enter therein? Ah, no! [...] Then, yielding to our intellectual onset, the gates of the Sixth Dimension shall fly open; after that a Seventh, and then an Eighth...
OK, come back with any problems.
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not enter therein? Ah, no! [...] Then, yielding to our intellectual onset, the gates of the Sixth Dimension shall fly open; after that a Seventh, and then...
Oh, so just change whatever info and display method you have to hold model info; keep the manufacturer drop down as is.
Tell me if you need an example.
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not enter therein? Ah, no! [...]...
alert("Too small!");
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not enter therein? Ah, no! [...] Then, yielding to our intellectual onset, the gates of the Sixth Dimension shall fly open; after that a Seventh, and then an Eighth...
Something like this?
function checkSize()
{
if (screen.innerWidth < 400)
{
resizeTo(400, screen.innerHeight);
alert("To small!");
}
}
window.onresize = checkSize;
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not...
Add this to the writeln:
<style type="text/css">
<!--
body {
direction: rtl;
}
-->
</script>
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not enter therein? Ah, no! [...] Then, yielding to our intellectual onset...
All right, let's stay client-side for the moment.
Here is a sample page:
<html>
<head>
<title>Vendors</title>
<script type="text/javascript">
<!--
var selvals = new Array();
selvals["vend1"] = new Array();
selvals["vend1"][0] = "vend1 - service1";
selvals["vend1"][1] = "vend1 - service2"...
Well, ignoring the PHP (you can figure out how to generate it)
<html>
<head>
<title>Manufacturers</title>
<script type="text/javascript">
<!--
// Some random details...
var names = new Array();
names["manu1"] = "Manufacturer 1";
names["manu2"] = "Manufacturer 2";
names["manu3"] =...
Ideally you would use some kind of server-side language for this (PHP, ASP, etc.) as Javascript cannot easily access the text of a page.
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not enter therein? Ah, no! [...] Then, yielding to...
And the question is...
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not enter therein? Ah, no! [...] Then, yielding to our intellectual onset, the gates of the Sixth Dimension shall fly open; after that a Seventh, and then an Eighth...
Not a problem; glad to help.
--Chessbot
"In that blessed region of Four Dimensions, shall we linger on the threshold of the Fifth, and not enter therein? Ah, no! [...] Then, yielding to our intellectual onset, the gates of the Sixth Dimension shall fly open; after that a Seventh, and then an...
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.