Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Directory Submission Service   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 11-27-2005, 06:19 PM   #1 (permalink)
v7n Mentor
 
Sketch's Avatar
 
Join Date: 05-06-04
Location: London, UK
Posts: 1,453
iTrader: 0 / 0%
Latest Blog:
None

Sketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web pro
Upload / Pop-up / Refresh

I'm not sure what you have to use to create something like this, but I'm wanting to make a script like what is used in VB.

If you notice, when you add an attachment to a thread/post a small window pops up and you upload your attachment via that window, once it is uploaded it the small window shows the change and the base window refreshes and shows the change as well...

How do you go about doing this?

I have the upload and the changes working in the pop-up window, but I dont' know how to get the base window to auto-refresh upon upload.

If anyone knows how to do this some advice would be fantastic.

Cheers
Sketch is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 11-27-2005, 06:31 PM   #2 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
Found at http://www.irt.org/script/40.htm




Within the original window:

Code:
<script language="JavaScript">function newWindow(file,window) { msgWindow=open(file,window,'resizable=no,width=200,height=200'); if (msgWindow.opener == null) msgWindow.opener = self; } //--></script> <form> <input type="button" value="Open New Window" onClick="newWindow('a.html','window2')"> </form>
Within the new window:
Code:
<script language="JavaScript">function load(file,target) { if (target != '') target.window.location.href = file; else window.location.href = file; } //--></script> <a href="javascript:load('b.html',top.opener)">load document into opener</a> <p> <a href="javascript:load('b.html','')">load document</a>
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-27-2005, 06:59 PM   #3 (permalink)
v7n Mentor
 
Sketch's Avatar
 
Join Date: 05-06-04
Location: London, UK
Posts: 1,453
iTrader: 0 / 0%
Latest Blog:
None

Sketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web pro
Thanks man, I wasn't even sure what to search for because I didn't know what it was called.

When I get home from work I will have a play around with this script and see if it works.

Thank You

<edit>

Just had a play with it now, looks great man, that is what I was after.
Thanks heaps

</edit>
Sketch is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-27-2005, 07:07 PM   #4 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
Any time
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



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

vB 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
refresh button http Web Design Lobby 4 12-05-2006 11:42 PM
Refresh script thumbtak Coding Forum 1 11-24-2005 04:56 PM
Refresh question stahly8 Web Design Lobby 12 10-16-2003 02:19 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 01:40 PM.
© Copyright 2008 V7 Inc

Click Here