Smartphone Thoughts - Daily News, Views, Rants and Raves

Be sure to register in our forums! Share your opinions, help others, and enter our contests.





Go Back   Thoughts Media Forums > SMARTPHONE THOUGHTS > Smartphone Talk

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-24-2003, 03:39 AM
Intellectual
Join Date: Jul 2003
Posts: 126
Send a message via MSN to goofy166
Default Smartphone HTML Tricks

Can anyone tell me what tricks are needed to make HTML code SPV friendly. here is my code:

<html><head><title>SmartPhoneTricks.com</title></head><BODY><TABLE cellspacing=0 cellpadding=0 border=0><TR><TD><p>mitchwaitepress.com</p>

<form method="POST" webbot-onSubmit action="--WEBBOT-SELF--" onSubmit="location.href='_derived/nortbots.htm';return false;">

<p><input type="checkbox" name="C1" value="ON">Blueberries</p>
<p><input type="checkbox" name="C2" value="ON">Bread</p>
<p><input type="checkbox" name="C3" value="ON">Bananas</p>
<p><input type="checkbox" name="C4" value="ON">Milk</p>
<p><input type="checkbox" name="C5" value="ON">Crackers</p>
<p><input type="submit" value="Submit" name="B1">
<input type="reset" value="Reset" name="B2"></p>
</form>

</TD></TR></TABLE></BODY></html>
__________________
Mitch Waite Group
www.whatbird.com
my story: www.mitchwaite.com
 
Reply With Quote
  #2 (permalink)  
Old 09-24-2003, 04:25 AM
Thinker
Join Date: Jul 2003
Posts: 398

Two things that may not be supported:

1) You don't have closing tags for body or html - I don't know if it matters or not, but it's generally good practice to close the tags

2) You are using the OnSubmit method from your FORM tag = this again may not be supported by the SPIE. Try changing it to:

Code:
<FORM method="POST" action="_derived/nortbots.htm">
If memory serves, SPIE only supports HTML 3.2 and the OnSubmit event is only supported by HTML 4.0
 
Reply With Quote
  #3 (permalink)  
Old 09-24-2003, 04:38 AM
Intellectual
Join Date: Jul 2003
Posts: 126
Send a message via MSN to goofy166
Default oops

Thanks for the input, this board is fantastic.

It was a mistake on my part, I put the ending body and html tags in there, and it doesn't make a difference, I still get a blank page.

I went to this site:

http://www.jennerresearch.com

They have a edit box where you put your URL and it reformats it to work on the phone. I tried it from the phone with www.smartphonetricks.com and it works. But when I examined there code its pretty strange, they seem to refer you first to there site, using some PHP to reformat the HTML. Lost me in the forest.

There must be a genius on this board that knows the answer

PS What would be the alternative to my on submit tag.
__________________
Mitch Waite Group
www.whatbird.com
my story: www.mitchwaite.com
 
Reply With Quote
  #4 (permalink)  
Old 09-24-2003, 04:50 AM
Contributing Editor
Kris Kumar's Avatar
Join Date: Aug 2006
Posts: 5,160

I copied and pasted the html code into a file named .html and copied it to the smartphone...launched it. It shows all the checkboxes and buttons.

The page renders okay (was that a problem?).

Submit of course doesnt work, no idea. What is all that Bot (webbot-onSubmit) stuff in the OnSubmit.
 
Reply With Quote
  #5 (permalink)  
Old 09-24-2003, 05:17 AM
Intellectual
Join Date: Jul 2003
Posts: 126
Send a message via MSN to goofy166

That was nice of you, I didn't think of looking at it locally on the phone. I have the identical code in my server and it won't open on the phone when I browse to it:

http://www.smartphonetricks.com

The submit stuff is the Frontpage default.

All of it can be removed so I simplifed it to:

<html><head><title>SmartPhoneTricks.com</title></head><BODY>
<TABLE cellspacing=0 cellpadding=0 border=0>
<TR><TD><p>mitchwaitepress.com</p>
<form method="POST">

<p><input type="checkbox" name="C1" value="ON">
Blueberries</p><p><input type="checkbox" name="C2" value="ON">
Bread</p><p><input type="checkbox" name="C3" value="ON">
Bananas</p><p><input type="checkbox" name="C4" value="ON">
Milk</p><p><input type="checkbox" name="C5" value="ON">
Crackers</p>
</form>

</TD></TR></TABLE></BODY></html>
__________________
Mitch Waite Group
www.whatbird.com
my story: www.mitchwaite.com
 
Reply With Quote
  #6 (permalink)  
Old 09-24-2003, 05:22 AM
Intellectual
Join Date: Jul 2003
Posts: 126
Send a message via MSN to goofy166

I thought perhaps it was the URL forwarding from mydomains that was doing it so I tried the actual domain and that worked!

So something weird is happening in URL forwarding.

Thanks for helping, this forum is pure gold.

Mitch
__________________
Mitch Waite Group
www.whatbird.com
my story: www.mitchwaite.com
 
Reply With Quote
  #7 (permalink)  
Old 09-24-2003, 01:28 PM
Contributing Editor
Kris Kumar's Avatar
Join Date: Aug 2006
Posts: 5,160

Cool...

Looking forward to some neat tricks on Smartphonetricks.com

Kris
 
Reply With Quote
  #8 (permalink)  
Old 09-24-2003, 10:14 PM
Intellectual
Join Date: Jul 2003
Posts: 126
Send a message via MSN to goofy166
Default KISS

Here is the magic link with the answers:

http://www.sophonix.com/articles/spcontent.asp
__________________
Mitch Waite Group
www.whatbird.com
my story: www.mitchwaite.com
 
Reply With Quote
  #9 (permalink)  
Old 09-24-2003, 10:26 PM
Thinker
Join Date: Jul 2003
Posts: 398
Default Re: KISS

Quote:
Originally Posted by goofy166
Here is the magic link with the answers:

http://www.sophonix.com/articles/spcontent.asp

excellent! a great refernece for future mobile site design. although this will change with the introduction of windows mobile 2003 for smartphone.
 
Reply With Quote
Reply


Thread Tools
Display Modes

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Browsing the Web on MS Smartphone (WM Standard) devices & Review of Opera Mini 4 beta Menneisyys Smartphone Software 28 11-13-2007 06:32 PM
Your Smartphone as a Bluetooth Modem for Your Laptop Kris Kumar Smartphone Articles & Resources 22 04-13-2006 11:45 PM
The Rugged Smartphone: Nextel i930 by Motorola Kris Kumar Smartphone Hardware 15 02-22-2006 04:23 PM
Clam Shell Beauty: Motorola MPx220 Smartphone Reviewed Kris Kumar Smartphone Hardware 35 12-23-2004 05:38 AM
SmartPhone: Bringing it back to life (updated 8-29-03) goofy166 Smartphone Talk 11 08-30-2003 03:24 AM


All times are GMT +1. The time now is 12:13 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 RC7