![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: May 2003
Posts: 2,734
|
How to display random gallery in html page? anyone know code?
I guess it should be done by javascript, anyone know code?
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jun 2007
Posts: 187
|
do you know how to code php? What scripts are you using?
__________________
Need some web dev? Contact ME ICQ - 366621126 |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Join Date: May 2007
Posts: 19
|
I know about an html rotator that runs in cgi...
i use it on my proxy site to rotate banners on proxified pages.. it is easy to use... just paste the html code and that´s it. h t t p : / / w w w .focalmedia.net/htmlrotate_docs.html |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jun 2007
Posts: 187
|
if you have all your images in a database just do a query that is random, mysql has a default by rand function
__________________
Need some web dev? Contact ME ICQ - 366621126 |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#5 |
Registered User
Join Date: Jun 2007
Posts: 1
|
![]() this is php, im use in nenasnenas.com.ar and this code to "add to blog".
Code add to blog/mySpace Code:
<!-- inicio imagen aleatoria NenasNenas.com.ar --> <a href="yourwebsite" style="display:block; width:135px;height:87px;margin:5px auto auto;border-top:1px solid #fff;border-left:1px solid #fff; border-bottom:1px solid #000;border-right:1px solid #000;text-align:center;vertical-align:middle;text-decoration:none;line-height:20px;color:#000;"> <img src="yourwebsite/aleatoria.php" alt="Nenas, nenas y mas nenas!" style="margin:2px auto 3px;border:none; height:80px;" center></a> <a href="yourwebsite" style="display:block; width:135px;height:20px;margin:0px auto 5px;border-top:1px solid #fff;border-left:1px solid #fff; border-bottom:1px solid #000;border-right:1px solid #000;text-align:center;vertical-align:middle;text-decoration:none;line-height:20px;font-family:Symbol, serif; color:#0a00c4;">Más nenas!</a> <!-- Fin imagen aleatoria NenasNenas.com.ar --> PHP Code:
![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#6 |
Registered User
Join Date: May 2006
Posts: 24
|
I write a javascript for you,enjoy it
Code:
<script language="javascript"> var list = new Array(); //define the gallery content array //replace the "your_url" and "your_img" with your own list[0]="<a href=\"your_url\"><img src=\"your_img1\"></a>"; list[1]="<a href=\"your_url\"><img src=\"your_img2\"></a>"; list[2]="<a href=\"your_url\"><img src=\"your_img3\"></a>"; list[3]="<a href=\"your_url\"><img src=\"your_img4\"></a>"; list[4]="<a href=\"your_url\"><img src=\"your_img5\"></a>"; list[5]="<a href=\"your_url\"><img src=\"your_img5\"></a>"; list[6]="<a href=\"your_url\"><img src=\"your_img5\"></a>"; list[7]="<a href=\"your_url\"><img src=\"your_img5\"></a>"; list[8]="<a href=\"your_url\"><img src=\"your_img5\"></a>"; list[9]="<a href=\"your_url\"><img src=\"your_img5\"></a>"; list[10]="<a href=\"your_url\"><img src=\"your_img5\"></a>"; list[11]="<a href=\"your_url\"><img src=\"your_img5\"></a>"; list[12]="<a href=\"your_url\"><img src=\"your_img5\"></a>"; list[13]="<a href=\"your_url\"><img src=\"your_img5\"></a>"; var list_count = list.length; function show_list(n) { show = n; var temp; var ran = rand(); for (i=0;i<show;i++){ temp=""; temp=list[ran]; document.write(temp); ran++; } } function rand() { var num=Math.random( ); var num=Math.floor(num * (list_count-show+1)); return num; } show_list(3); </script>
__________________
Free dickgirl hentai manga |
![]() |
![]() ![]() ![]() ![]() |