vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Get Head/Base Info - View Topic
Topic Rating: *****
Printable View
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Get Head/Base Info (27th Apr 08 at 2:39pm UTC)
This code will assign head & base information to 2 variables. Very useful for when you're making your own affiliate table and you want it to include the head/base of the person's skin.

<script>
/*Get Head/Base Info
Snippetted By Wrighty*/

var head_table = get('table','tag')[0].cloneNode(true);
var foot_table = get('table','tag')[3].cloneNode(true);
</script>


This is a snippet, and shouldn't be used as is. This code is provided to show the best way to go about getting the information.
dog199200
Guest
Re: Get Head/Base Info (27th Apr 08 at 6:36pm UTC)
um may i ask, how exactly can this be used, i dont understand what it does.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Get Head/Base Info (27th Apr 08 at 6:40pm UTC)
It's more for coders to use. If someone's making an affiliate table for example. They can build head & base images into it without having to prompt for head/base information.

Until I thought of this, that would have been the way to add head and base images.
dog199200
Guest
Re: Get Head/Base Info (27th Apr 08 at 6:50pm UTC)
ah i see, and i am a code {Tongue Out} at least here soon i will get into coding for vforums, thats why i asked. and ty
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Get Head/Base Info (27th Apr 08 at 6:53pm UTC)
Welcome! {Smile}
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Get Head/Base Info (27th Apr 08 at 6:58pm UTC)
 
It's more for coders to use. If someone's making an affiliate table for example. They can build head & base images into it without having to prompt for head/base information.

Until I thought of this, that would have been the way to add head and base images.


Could they not just surround their affiliate table in the same classes/id's that the CSS that inserts the head/base images originally uses? {Wink}

rroll.to— Shorten a link, rickroll your friends.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Get Head/Base Info (27th Apr 08 at 6:59pm UTC)
 
 
It's more for coders to use. If someone's making an affiliate table for example. They can build head & base images into it without having to prompt for head/base information.

Until I thought of this, that would have been the way to add head and base images.


Could they not just surround their affiliate table in the same classes/id's that the CSS that inserts the head/base images originally uses? {Wink}


I thought that, but I remember (when I last looked) that the left & right images are actually included in image tags, and not through CSS
 Printable View

All times are GMT+0 :: The current time is 5:54am
Page generated in 0.3141 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums