Help Open Popup

This is a discussion on "Help Open Popup" within the JavaScript Forum section. This forum, and the thread "Help Open Popup are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Oct 16th, 2007, 11:49
New Member
Join Date: Oct 2007
Location: BRAZIL
Age: 20
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Help Open Popup

hi!
i´m using vs05 asp.net c#...
I found this code(javascript) to open an archive "FILE.htm". the archive is in directory c: ::...
Button1.Attributes.Add("onclick", "window.open('file:///C:/FILE.htm','popup','width=600,height=400,scrolling= auto,top=150,left=250,resizable=yes')");
but I was knowing that code is trying to open a file on the user's local computer and not the server.
I need to open "FILE.htm" that is in c: in the server!
some idea?
thanks!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Oct 16th, 2007, 11:56
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help Open Popup

just change file:///C:/File.htm to www.wherevere.com/FILE.htm or even just file.htm if it's on your server.

Cheers,
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Oct 22nd, 2007, 00:45
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help Open Popup

Quote:
Originally Posted by giovannidebona View Post
I need to open "FILE.htm" that is in c: in the server!
Is c: a directory on your server?
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Nov 8th, 2007, 00:17
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help Open Popup

If this thread is solved, please mark it as solved via thread tools at the top. Thanks.
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Source of Open Thoughts Rakuli Free Web Site Critique 5 Feb 14th, 2008 07:03
Change open in new window to open in same window nsr500rossi JavaScript Forum 2 Jan 18th, 2008 14:13
Open Thource - For Open Source Thoughts Rakuli Free Web Site Critique 44 Oct 9th, 2007 09:51
try to open php and asks if i want to open or save file steven rowlands PHP Forum 6 Feb 20th, 2007 21:42
Open pop up window onCLick Getting past XP popup stopper? Andy K JavaScript Forum 3 May 22nd, 2005 21:04


All times are GMT. The time now is 06:33.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42