Log in

View Full Version : help



talent
04-28-2008, 04:42 PM
How whould you change this to also be up and down. So its like 4 pics across then the rest going down not just left to right..

$bld.=" leftrightslide[".$cc."]='<a href=index.php?site=profile&id=".$dmm[userID]."><img border=0 height=62 src=".$picle." border=0></a>'n ";
$bild.="<a href='index.php?site=profile&id=".$dmm[userID]."'><img border='0' height='62' src='".$picle."'></a> ";

Jas
04-28-2008, 05:03 PM
How whould you change this to also be up and down. So its like 4 pics across then the rest going down not just left to right..

$bld.=" leftrightslide[".$cc."]='<a href=index.php?site=profile&id=".$dmm[userID]."><img border=0 height=62 src=".$picle." border=0></a>'n ";
$bild.="<a href='index.php?site=profile&id=".$dmm[userID]."'><img border='0' height='62' src='".$picle."'></a> ";

You mean like:

$bld.=" leftrightslide[".$cc."]='<a href=index.php?site=profile&id=".$dmm[userID]."><img border=0 height=62 src=".$picle." border=0></a>'n <br />";
$bild.="<a href='index.php?site=profile&id=".$dmm[userID]."'><img border='0' height='62' src='".$picle."'></a> ";
???

talent
04-28-2008, 11:13 PM
Honestly I dont know how to ask this is a php script that has some java in it. Right now the images roll left to right. I really dont want that I what to have 4 images in one roll foward buy another roll below it. Each new member I add will just go in order...

Jas
04-29-2008, 08:13 PM
I don't understand, still. can you perhaps post more of the code?

boogyman
04-29-2008, 09:02 PM
Honestly I dont know how to ask this is a php script that has some java in it. Right now the images roll left to right. I really dont want that I what to have 4 images in one roll foward buy another roll below it. Each new member I add will just go in order...

I doubt it has java in it... you may be talking about JavaScript which is an ENTIRELY different language, but that really is not your problem

Before I help you with this problem we need to define the problem... from what I gather you have a setup similar to



link-img link-img link-img link-img link-img


and you want there to be one row of 4 images? then every image after that you want to display below the first link vertically like


link-img link-img link-img link-img
link-img
link-img
link-img
link-img


or did you want there to be four columns with four data cells per row like below


link-img link-img link-img link-img
link-img link-img link-img link-img
link-img link-img link-img link-img
link-img link-img link-img link-img


if one of those is what you are looking for, please confirm, if not,,, can you please show us what you are looking for, using text to represent the rendered display like i do above

talent
04-29-2008, 11:32 PM
yes like your last thing. 4 colums with 4 rows. I want it to continue to cascade down that way. but if its only 4x4 then that should be enough