Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Other » HTML CODES
HTML CODES [message #279972] Sun, 19 August 2007 14:06 Go to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
ok i have a myspace but the problem is i have so many pictures posted on the page that my freinds say they pc freezes or it takes them forever to load my page and im asking becuase i think iv seen this before


is there a html code that shows text and when u click on it it EXSPANDS not takes u to a website just expanded to the picture and then loads it? so its still on the page and dont have to take you to a new site you just click on text then picture expanded underit and loads the pic


please and ty
Re: HTML CODES [message #279983 is a reply to message #279972] Sun, 19 August 2007 15:18 Go to previous messageGo to next message
Ghostshaw is currently offline  Ghostshaw
Messages: 709
Registered: September 2006
Karma: 0
Colonel
Its possible.... But not easy. Theres 2 ways, both involve heavy javascript.

First way is to use an iframe. On load its tiny and doesn't actually have a page assigned, then onclick you resize it and make it open another page.

The other way is using ajax and a <div> or some other block object. I'm not 100% sure though if its possible to get an image properly loaded through ajax.

-Ghost-


BlackIntel Administrator
Re: HTML CODES [message #279987 is a reply to message #279972] Sun, 19 August 2007 16:06 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
damn idk anything about html or java >.<
Re: HTML CODES [message #280080 is a reply to message #279972] Mon, 20 August 2007 01:37 Go to previous messageGo to next message
Ghostshaw is currently offline  Ghostshaw
Messages: 709
Registered: September 2006
Karma: 0
Colonel
Then i seriously doubt if you will manage this, and btw its javascript not java, they aren't really related. Doing something like this will prolly be impossible todo for myspace, unless you want to manually code every entry.

-Ghost-


BlackIntel Administrator
Re: HTML CODES [message #280088 is a reply to message #279972] Mon, 20 August 2007 02:54 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9737
Registered: March 2005
Location: Belgium
Karma: 13
General (5 Stars)
Goztoe
Resize your pictures before you upload them.

Exemple: if you leave your pic's in BMP, they can easely be 3-4 MB per piece. If you save them as jpeg by using a program like irfanview (google it!) and you make their size smaller (800*600), then that same image might only be 200 KB. If your friends have broadband, then u should be able to put around 20 of those on a page without big problems (20 * 200 KB = +/- 4 MB).


You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Re: HTML CODES [message #280092 is a reply to message #279972] Mon, 20 August 2007 04:37 Go to previous messageGo to next message
3663Nixon is currently offline  3663Nixon
Messages: 47
Registered: October 2006
Karma: 0
Recruit
Also use interlaced GIFs and progressive JPEGs. Low bandwidth users will see a low quality image in the first past, which increases per pass. High bandwidth users probably wont see the passes at all.

n00bstories marketing team member
http://www.n00bstories.com/image.fetch.php?id=1344496898n00bstories radio
Re: HTML CODES [message #280129 is a reply to message #279972] Mon, 20 August 2007 09:03 Go to previous messageGo to next message
CarrierII is currently offline  CarrierII
Messages: 3804
Registered: February 2006
Location: England
Karma: 0
General (3 Stars)

And myspace don't allow Java, AFAIK.


Renguard is a wonderful initiative
Toggle Spoiler
Re: HTML CODES [message #280132 is a reply to message #279972] Mon, 20 August 2007 09:18 Go to previous messageGo to next message
Ghostshaw is currently offline  Ghostshaw
Messages: 709
Registered: September 2006
Karma: 0
Colonel
ITS NOT JAVA ITS JAVASCIPT, and javascript is jsut embedded in normal HTML, so it should work.

-Ghost-


BlackIntel Administrator
Re: HTML CODES [message #280139 is a reply to message #280132] Mon, 20 August 2007 10:13 Go to previous messageGo to next message
Ryu is currently offline  Ryu
Messages: 2833
Registered: September 2006
Location: Liverpool, England.
Karma: 0
General (2 Stars)

Ghostshaw wrote on Mon, 20 August 2007 11:18

ITS NOT JAVA ITS JAVASCIPT, and javascript is jsut embedded in normal HTML, so it should work.

-Ghost-


Someone's going to have a stroke about Java and Javascript. :<


Presence is a curious thing, if you think you need to prove it... you probably never had it in the first place.
Re: HTML CODES [message #280157 is a reply to message #279972] Mon, 20 August 2007 13:03 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
well idk it so i guess im screwed and second JPEGs ias ll my pics i just have alot of them
Re: HTML CODES [message #280289 is a reply to message #280092] Tue, 21 August 2007 04:34 Go to previous message
3663Nixon is currently offline  3663Nixon
Messages: 47
Registered: October 2006
Karma: 0
Recruit
3663Nixon wrote on Mon, 20 August 2007 12:37

Also use interlaced GIFs and progressive JPEGs. Low bandwidth users will see a low quality image in the first past, which increases per pass. High bandwidth users probably wont see the passes at all.


You set this in your graphics editor - it is a property of the image and uses no code.


n00bstories marketing team member
http://www.n00bstories.com/image.fetch.php?id=1344496898n00bstories radio
Previous Topic: Problem with Farcry online multiplayer and C&C mod
Next Topic: My fans..
Goto Forum:
  


Current Time: Thu Nov 21 06:38:23 MST 2024

Total time taken to generate the page: 0.01131 seconds