<< Previous Topic | Next Topic >>  

Hey Phill or Edd

January 18 2004 at 10:31 PM
Mo  (no login)

 
Can I have the script code for that translating to german,spanish etc please

 
 Respond to this message   
AuthorReply

(Login BilgeRat)

translator-code

January 19 2004, 9:44 AM 

the old code



new Code:
<select align=absmiddle onChange="if(this.options[this.selectedIndex].value){translang(this.options[this.selectedIndex].value);}" style="background-color:#BFDDF2; color:#0000FF;">
<option selected>Translator</option>
<optgroup label='English to'>
<option value='en|de'>German</option>
<option value="en|es"> Spanish</option>
<option value="en|fr">French</option>
<option value="en|it">Italian</option>
<option value="en|pt"> Portuguese</option>
</optgroup>
<optgroup label='German to'>
<option value="de|en">English</option>
<option value="de|fr">French</option>
</optgroup>
<optgroup label='to English'>
<option value="es|en">Spanish</option>
<option value="fr|en">French</option>
<option value="it|en">Italian</option>
<option value="pt|en">Portuguese</option>
</optgroup>
</select>
<script language="Javascript">
<!--
function translang(language)
{
window.open("http://translate.google.com/translate?u="+ escape(location.href) +"&langpair="+ language +"&prev=%2Flanguage_tools")
}
// -->
</script>


HelpLineLinksgreetz Ed

HelpLineLinksgreetz Ed


    
This message has been edited by BilgeRat on Jan 19, 2004 9:47 AM


 
 Respond to this message   
Phil
(Login mrpip)
Forum Owner

Ed...

January 19 2004, 6:11 PM 

I found a problem with the "HTML Coder" in MozillaFireBird which doesn't effect its use on here but still I removed the "Covert for Forums" check box, sence it serves no purpose here anyhow, heres the updated code and the reason why on this page



    
This message has been edited by mrpip on Jan 19, 2004 6:13 PM


 
 Respond to this message   

(Login Ed_Homes)

updatings

January 19 2004, 8:58 PM 

ok, thanks Phil. i've updated my page(s)



 
 Respond to this message   

(Login BilgeRat)

@ Phil

January 21 2004, 4:04 AM 

ok.. have been working a little with the code... (because Opera, the little DramaQueen did nothing with the encoder..) so I've made two different encoders, the updated window http://www.network54.com/Realm/n54_files/encode.html accessable from the links-page, which now does his job as good as he can for IE, Firebird and Opera,
and another version speciell for my BlueShed board http://www.network54.com/Hide/Forum/post?forumid=225998&messageid=0 which give the converted code to the messagebox on the post page. If this makes any sence? I don't know, I just will test it for a while...

HelpLineLinksgreetz Ed

 
 Respond to this message   
Phil
(Login mrpip)
Forum Owner

Very good

January 21 2004, 6:05 AM 

Very cool, works great for me in IE and firebird.

1 annoyance I found while validating my homepage to XHMTL is, there is no Height thingy which I noticed firebird has not but I'm little unsure weather that is only percentage height, I think it reconizes pixel height.
I think IE is the only browser that reconizes percentage height, I've had to increase the numbers of rows to suit the window


 
 Respond to this message   

(Login BilgeRat)

the width of textarea

January 21 2004, 10:26 AM 

its a know bug in some of ie versions.. w3 says COLS and ROWS are needed, additional STYLE can be used. Well,.. not easy to find crossbrowser-solutions AND w3 validations. Iv've set the rows to'9' and cols to '0', width and height in style.

new scripts.. lol.. sometimes I'm forgetting how many pretty little tools you have gathered here.

HelpLineLinksgreetz Ed

 
 Respond to this message   

(Login Ed_Homes)

different height

February 7 2004, 10:59 PM 

the height.. the form has to wrap the table, .. wasn't it somthing like that? Ok, meaningless now.. lol


http://www.network54.com/Realm/n54_files/n54_links.html

 
 Respond to this message   
Phil
(Login mrpip)
Forum Owner

New script

January 21 2004, 9:15 AM 

I have added a new script to the nw54 Scripts page.
Its basically a script to help people add there own content to specific pages.


its a script this board has always had so I don't know why I never thought off adding it to the scripts page before

 
 Respond to this message   
Current Topic - Hey Phill or Edd
  << Previous Topic | Next Topic >>  
Find more forums on Personal Web PagesCreate your own forum at Network54
 Copyright © 1999-2009 Network54. All rights reserved.   Terms of Use   Privacy Statement