facebook Twitter RSS Feed YouTube StumbleUpon

Home | Forum | Chat | Tours | Articles | Pictures | News | Tools | History | Tourism | Search

 
 


Go Back   BanglaCricket Forum > Miscellaneous > Support

Support Help & Support

Reply
 
Thread Tools Display Modes
  #1  
Old October 11, 2005, 02:45 PM
Rubu's Avatar
Rubu Rubu is offline
Moderator
 
Join Date: February 15, 2004
Location: Michigan
Favorite Player: Tamim Iqbal
Posts: 8,198
Default Help with Javascript

Probably arnab can answer this, but its open for any one

I'm having hard time with something that is supposed to be easy.

I've a table. the content of each cell are unequal and when showing all, it does not look good. so, what i'm trying to do is, show only the first 30 letters and when click on these 30 letters a pop up window will show up and show the whole string. here is the javascript function i'm using:

function showAll(message){

var newWin = window.open ("../showmessage.jsp");
var fi = newWin.document.getElementById("shwmsg");
fi.value = message;
}

this is not working. don't know why. any suggestions about how i can do this: create a popup window, pass a variable to it, show the value of the variable to the popup window.
Reply With Quote
  #2  
Old October 11, 2005, 07:38 PM
Mahmood's Avatar
Mahmood Mahmood is offline
Administrator
Operations & Administrations
 
Join Date: June 20, 2002
Location: Montreal, Canada
Favorite Player: Mashrafe Mortaza
Posts: 7,772

Does this help?

http://www.banglacricket.com/raj/showtip.htm

If this will do, just view the source.
Reply With Quote
  #3  
Old October 12, 2005, 07:15 AM
Rubu's Avatar
Rubu Rubu is offline
Moderator
 
Join Date: February 15, 2004
Location: Michigan
Favorite Player: Tamim Iqbal
Posts: 8,198

thanks mahmood vai. i think this will help for sure. i tried to use window.createPopup() and works fine with IE but not with firefox, so i'd to give it up. i'll try this one out.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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



All times are GMT -5. The time now is 06:56 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
BanglaCricket.com
 

About Us | Contact Us | Privacy Policy | Partner Sites | Useful Links | Banners |

© BanglaCricket