I put together a fairly complex website and it doesn't function on some computers, especially macs. I used the Microsoft script editor to write the pages and used vbscript as the scripting language. I originally thought it might of been because I didnt have the <!DOCTYPE> tag as the first line on all the pages but even after including the tag, no change (actually there was a change. All the text fonts were changed but no functionality change).
Problem 1:
On my first page I use the [SetInterval] function to execute commands at a specific time interval. This works fine on my writing computer and on my test computer. It also works fine on my friend's computer of whom I'm writing the site for. Another friend has a mac and he can load the page but the event timer doesn't work. Another friend has a PC and again, the timer doesnt start on his computer.
Problem 2:
My second page is my menu page. I used a table to set up my menu buttons. I used the table cells themselves as the buttons rather than adding extra <input> tags. I used CSS to simulate the cells as buttons. Again, the buttons work fine on both my computers and on my first friends computer but not on my other 2 friends' computers. They can load the page but the buttons don't work and the curser doesn't change on their computers when they mouseover the buttons.
On my pages, I use the following script in the [window_onload] function to change the browser size to maximum.
window.moveTo 0, 0
window.resizeTo window.screen.availWidth,window.screen.availHight
Could this be a possible problem?
Any help or insight would be greatly appreciated.
RDRCarlos
0
Newbie Poster
Recommended Answers
Jump to PostThe problem is that you used Microsoft Script Editor and VbScript for the whole site! Those are propritary and not well supported scripting systems -- especially on non-Microsoft systems.
I'd recommend using Perl, PHP or JavaScript which are much more widely accepted.
Jump to PostCertainly for client side scripting Javascript is a far better option, on the server side what you use is essentially irrelevant to the client so whatever floats your boat there. These days unless you are writing for a corporate intranet (and even then I would never recommend it) VBScript on …
All 8 Replies
Dukane
davidcairns
1
Junior Poster
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
MidiMagic
579
Nearly a Senior Poster
RDRCarlos
0
Newbie Poster
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
RDRCarlos
0
Newbie Poster
MattEvans
473
Veteran Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.