Notices

Water Fountain General Chit/Chat

Reply
 
LinkBack Thread Tools
Old 04-30-07, 12:54 AM   #16 (permalink)
Aximsite Minor League
 
Join Date: Jul 2006
Location: Washington
Posts: 157
Device: Moto Q 9m
Carrier: Verison!
Thanked 0 Times in 0 Posts
oh, cool

So this isn't converting code you wrote.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- My Website

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


I don't believe in atheists therefore atheists don't exist.
Clegs is offline   Reply With Quote
Sponsor Ads
Old 04-30-07, 11:37 AM   #17 (permalink)
Aximsite Hall of Fame
 
aximbigfan's Avatar
 
Join Date: May 2005
Posts: 9,195
Thanked 0 Times in 0 Posts
Blog Entries: 1
Originally Posted by Clegs View Post
oh, cool

So this isn't converting code you wrote.
nope, not at all. the code in this thread is for the web ui, where there is a function to clear the nvram. however, i didnt want it to be so simple that you could just click ok to a confirm() prompt, so i did the more complex way where you have to manualy enter a confim code before it will let you clear nvram.

basically, the device works off of .asp files.
for exampel to reboot the device, you put <% reboot(); %> in the .asp file, and it reboots. i have created a folder in the docroot called commandp (command pages), and for every .asp function, there is a page that includeds it, reports whqat it is doing, the redirets to the main page of the gui after 10 secounds (90 fro rebooting)

there are also .asp functiosn that print HUGE (upwards of 2 pages) of strings about, for example, hard drive status, things liek that. so those need to be converted to something readble by humans.

clearign the nvram is the only (thus far) function that reqires a "super" confirm before working. things like enabling telnet only require a simple confirm().

soem of the more clever of you may havwe noticed that the code simply pulls up the page, which is unprotected without the prompt() box. i know this, and in future versions of the gui, this will be differnt. but for now, it is a provate beat, so it doesnt really matter.


chris
aximbigfan is online now   Reply With Quote
Old 04-30-07, 01:26 PM   #18 (permalink)
Aximsite Minor League
 
Join Date: Jul 2006
Location: Washington
Posts: 157
Device: Moto Q 9m
Carrier: Verison!
Thanked 0 Times in 0 Posts
You notice I went to bed before you, that's why I stopped responding :)
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- My Website

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


I don't believe in atheists therefore atheists don't exist.
Clegs is offline   Reply With Quote
Reply

Tags
hell, javascript

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with javascript, please! artmustel Windows Mobile 2003 3 02-09-07 02:31 PM
JavaScript BarrieB2 X50 / X51 Forums 3 12-03-06 09:40 AM
javascript student101 X50 / X51 Forums 16 08-03-06 11:28 AM
No Javascript on PIE? Ehien Windows Mobile 2003 18 06-30-05 10:03 AM
Javascript joedoe101 Water Fountain 8 06-14-05 08:15 PM


All times are GMT -5. The time now is 11:06 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC