[Javascript] Show full text in pop up window

Paul Novitski paul at dandemutande.org
Thu Mar 18 14:30:46 CST 2004


You might need to begin with "var" to declare oFullTitle before using it:

         var oFullTitle = window.open...

Paul


At 12:15 PM 3/18/2004, you wrote:
>Hi flavio,
>Thanks! the tool tip works for me-i tried it now.
>regarding the popup window, i get error-objecy required.
>am i  missing any syntax..
>please let me know
>my code below:
>
>oFullTitle = window.open('','fullTitle',"width=400, height=40");
>oFullTitle.document.write('<h2>Your Full Title Here.Your Full Title 
>Here.Your Full Title
>HereYour Full Title HereYour Full Title HereYour Full Title HereYour Full 
>Title HereYour Full
>Title HereYour Full Title HereYour Full Title HereYour Full Title HereYour 
>Full Title HereYour
>Full Title HereYour Full Title HereYour Full Title HereYour Full Title 
>HereYour Full Title
>Here
></h2>');
>oFullTitle.focus();
>
>
>td align="center">
>             <a href="#" title="This is the book Title.This is the book 
> Title.This is the book
>TitleThis is the book TitleThis is the book TitleThis is the book 
>TitleThis is the book
>TitleThis is the book TitleThis is the book TitleThis is the book 
>TitleThis is the book
>TitleThis is the book Title"> This is the... </a>
>    </td>
>
>flavio <flavio at economisa.com.br> wrote:
>
>Samyukta,
>
>Maybe you don't need to show it on a new window..
>
><http://us.f416.mail.yahoo.com/ym/Compose?box=Inbox&Mid=9242_2476029_205849_3507_787_0_3356_1455_3318958820&inc=&Search=&YY=3711&order=down&sort=date&pos=0&view=a&head=b#>This 
>is the...
>
>and when the person hover the mouse the full title is shown as a tooltip.
>
>But if you want to do it, try something like this:
>
>======
>
>oFullTitle = window.open('','fullTitle',"width=400, height=40");
>
>oFullTitle.document.write('
>
>Your Full Title Here
>
>
>
>');
>oFullTitle.focus();
>======
>
>Hope to help,
>
>--
>Flavio Gomes
>flavio at economisa.com.br
>
>
>Citando Samyukta Akunuru :
>
> > Hi,
> >
> > I would like to implement a pop up in my page.On clicking the link to
> > generate the pop up, the pop up should have the full text of the 
> content.how
> > do i do this...
> > currently i have a page/form with table and rows in it.
> > the 'book title' is what i am talking about.as the title is large, i cnat
> > display the whole title in the table.so i want to show only the first 10
> > characters and dots.on clicking this text, a pop up should come up showing
> > the whole text in the wndow (pop up window) that opens up...
> >
> > Thanks in advance!1!!
> >
> >
> > Do you Yahoo!?
> > Yahoo! Mail - More reliable, more storage, less spam
>
>
>
>
>---------------------------------------------------------------------
>Mensagem enviada através do WebMail NetSol (http://www.netsol.psi.br)
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>
>Do you Yahoo!?
><http://us.rd.yahoo.com/mailtag_us/*http://mail.yahoo.com>Yahoo! Mail - 
>More reliable, more storage, less spam
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript





More information about the Javascript mailing list