Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 09-26-2004, 03:48 PM   #1
Beta Member
 
Join Date: Aug 2004
Posts: 4
Default simple code?

i am loading an external url into a layer and when it is processing it a the small image icon appears on the top left corner (the one that is a white square with a cirle, square and triangle in it) is there a simple code to remove this from sight?
__________________

kfc04 is offline   Reply With Quote
Old 09-28-2004, 05:00 AM   #2
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 7,999
Default Re: simple code?

Thats the box that appears when an image tag is used, but no image is specified.

to get rid of it you could specifiy the image properly,

(if I am wrong -it has happened before :shock: )
Can you provide a link so we can see what you mean
__________________

root is offline   Reply With Quote
Old 10-15-2004, 05:06 PM   #3
Baseband Member
 
snappy316's Avatar
 
Join Date: Aug 2004
Posts: 51
Default

but if the path is correct, make sure the extensions comply. usually this is the case (for me, at least...) like the extension could be .jpg but the web wants .JPG. the servers see them as two different files, so try changing the extensions to the opposite of what they are now. i hope you can understand that...
__________________
windows > mac < linux
snappy316 is offline   Reply With Quote
Old 10-16-2004, 04:33 AM   #4
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: simple code?

Yes, use an IFrame:


<iframe SRC="" width=468 height=60 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No>
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 10-16-2004, 09:38 AM   #5
Beta Member
 
Join Date: Aug 2004
Posts: 4
Default

cheers david that seemed to have done the trick!

Now i have another prob as im new to this iframe thing!

I can get the first file to load into the iframe but i dont know how to add a behaviour to make a different external htm file replace it when a link is clicked.

heres the code im using so far:

<iframe SRC="content1.htm" id="maincontent" style="position:absolute; left:152px; top:24px; width:513px; height:573px; z-index:4; visibility: hidden;" Marginwidth=0 Marginheight=0 scrolling="no" Frameborder="0"></iframe>

That loads ok and now i want to use an onclick command to load content2 into the iframe called maincontent.

any ideas?
kfc04 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

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



All times are GMT -5. The time now is 02:18 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0