Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / January 2005

Tip: Looking for answers? Try searching our database.

erasing a document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Patrick Marti - 29 Jan 2005 00:05 GMT
I work with DotNet c#
I made a frame, with 2 parts. Left are little images and in the right I can
see the selected one with a text (and what ever in future). It works, but
every time I select a new pict in left for to show as a big in the right
frame, it is appending it, what isn't of course my idea.


============================================
A little fragment of the position in the code I think something has to be
different
of an additional line, so it will first errase the document and then put the
new
image with the new text
============================================
scriptString += "function ShowPic(MyPic,MyText){";
scriptString += "top.frames[2].document.write('<h1>MyText</h1>');";
scriptString += "top.frames[2].document.write(\"<img
src=\'C:/Inetpub/wwwro.....
=============================================

For any idea, I thanks a lot
Greetings Patrick Marti
Patrice - 31 Jan 2005 19:09 GMT
document.write writes additional HTML code. Instead you could change the src
attribute of the img tag to display another image...

Patrice

> I work with DotNet c#
> I made a frame, with 2 parts. Left are little images and in the right I can
[quoted text clipped - 17 lines]
> For any idea, I thanks a lot
> Greetings Patrick Marti

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.