| 
	
 | 
 Posted by SpaceGirl on 07/25/05 00:12 
Ken in Melbourne Australia wrote: 
> SpaceGirl wrote: 
>  
>>> I have a page that has some radio buttons on it 
>  
> ... 
>  
>>> I realize this would be trivial by using a script but I'd like to do 
>>> it without a script (to accomodate "scriptless" users). 
>>> 
>>> Is there any way to do this? 
>>> 
>>> TIA 
>> 
>> 
>> No it cannot be done. Anything that changes the content cannot be done  
>> without *some* sort of scripting 
>  
> ... 
>  
>> HTML is "dumb". Once it is rendered that's it. You can do anything  
>> else to it without scripting as it's just a page full of text codes in  
>> reality. 
>  
>  
> Cannot be done???  Emmm!!  I'm a great believer in never saying cannot. 
>  
 
Can you turn my can of Coke into a car? No. It can't be done. 
 
> If we look at the question it says that we are trying to accommodate  
> "scriptless" users.  Therefore we can assume that the meaning of script  
> is script running on the client.  Now this may not be the greatest as it  
> means some delays but couldn't you do it with a program on the Server. 
 
Yes you could do it at the server, but that's not what I thought he was  
asking. He suggested he wanted a scriptless solution. Even if you do it  
at the server, a script is being run... albeit on the server :p 
 
> User presses what looks like a radio button.  This activates  form  
> output to the server program.  Server program resends page with the text  
> field updated. 
 
Yes that would be the way to do it. Use an image of a radio button so  
that it "pretends" to be a radio, when really it is a submit button. It  
causes the whole thing to be posted to the server and you can then send  
the whole back again to the client with the text modified. 
 
<snip> 
 
> I haven't tried any of this so maybe there are problems here that I  
> don't know about.  Can anyone tell me if this would work or if there is  
> a problem with it.  Better still, tell me if you actually get it going! 
 
I've done this on a few sites to fake UI elements; it can work really weel. 
 
--  
 
 
x theSpaceGirl (miranda) 
 
# lead designer @ http://www.dhnewmedia.com # 
# remove NO SPAM to email, or use form on website # 
# this post (c) Miranda Thomas 2005 
# explicitly no permission given to Forum4Designers 
# to duplicate this post.
 
  
Navigation:
[Reply to this message] 
 |