![]() |
|
| *AX SOFT>>>Programming & Design |
How do you automatically load a javascipt? |
I'm working on a website and i'm thinking of using some javascript except i don't like how some browsers will stop the code because it might be a potential threat. The user then has to allow permission to run the javascript or active x code. Put the javascript in a file and in a subfolder of your project and then reference it in the header Two ways. There's no way around it. About all you can do is put some text on your page encouraging the user to enable JavaScript. This is really an issue with how the user has their particular browser set up. There is no way to get around your conundrum because you can only change what is on the web server but you have no control over what the settings of the users browser is. As they said above, it's a limitation imposed by the web. "The customer is always right!" Each person using the web has the ULTIMATE RIGHT to turn off yer danged javascript or activeX code, just as you would, if you visted a magazine site to get information on PCs and didn't want their danged subscription requests constantly popping up to block the view, or if you went to buy a subscription to the magazine and didn't want their activeX creeping in to steal a copy of yer street address to ship off to cousin Jake for his mail-order business! |
| Tags |
| General - Computers & Internet Software Security Programming & Design Facebook Flickr Google MSN MySpace |
| Related information |
Checkout AceHtmlPro (Free Edition) which will help you learn html and allows for easy page generation. Great for anyone starting out. ...Where exactly are you storing the specification of your links? In each page? Or in a separate style sheet (CSS)? If you're not using an external style sheet, I highly recommend starting to do ... Files in Unix filesystems use inodes as structures that hold the actual file data on disks. inode number uniquely identifies a physical file on disk. Hard links are pretty much multiple names fo... It's as simple as this, in C++: string s; cin >> s; ...GIMP should run on any NT-based version of Windows (NT4, 2000, XP or Vista). Older GIMP versions (2.0.x) could also work with older versions of Windows such as Windows 95 but they are not supported... When you link to the .swf you can use target="blank" in the href.... <A HREF="link.swf" target="_blank"> This will force the page to open in a new window..... main() ...should be... int main(void) ...aside from that, you should probably work on understanding how "else if" works. ...I recommend the open source CxImage library located at ... |
Categories--Copyright/IP Policy--Contact Webmaster |