Log In · Register

 
Placing additional images beneath the profile picture
Reidar
post Sep 1 2006, 02:24 AM
Post #1


Vae Victis
******

Group: Official Member
Posts: 1,423
Joined: Sep 2006
Member No: 460,227



Greetings.

I'd like to have two or three small thumbnails lined up beneath my profile picture. I know the html for the thumbnails and the images, but I'm uncertain as to where I would place this so it's positioned where I want it to be (in the profile).

Much appreciated.
 
 
Start new topic
Replies
threepointone
post Sep 5 2006, 08:16 PM
Post #2


Senior Member
****

Group: Member
Posts: 122
Joined: Feb 2005
Member No: 106,057



this should be much more flexible to work with. You don't need to use a DIV tag, like it is in this example; just make sure it has the
CODE
id="profilepiccontent" style="display:none"
attributes set. The profilepiccontent element and everything in it will be automatically moved under the profile picture.

CODE
<div id="profilepiccontent" style="display:none">
<!-- INSERT YOUR HTML HERE -->
</div>

<script language="JavaScript" type="text/javascript">
<!--
/*
this code inserts content directly below your profile image
v2.0
by threepointone @ createblog.com
*/
/*
HOW TO USE: create any element with an id="profilepiccontent" and insert your HTML in that element. Preferably, the element should have style="display:none" to reduce flicker while the page loads. The HTML will be copied automatically under the profile.
*/

var myobj = document.getElementById("profilepiccontent")
var tgtelement=document.getElementById("ProfileModule1_lblImage")
tgtelement.parentNode.insertBefore(myobj, tgtelement.nextSibling)
document.getElementById("profilepiccontent").style.display = ""

-->
</script>
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: