Public Voice Network
- Ageless Male
- FMT 020312 4747
- Show Yo Dog 2012
- Ageless Male
- Pic of the Day 5937659376
- Light in the box coupons
- Multicolored logos? 1414
- Politics 1759817598
- Shit QBNers Say 130130
- blog 5558055580
- Light in the Box Coupons
- Vid of the Day 1096110961
- TYPO San Francisco 55
- Suggest a good movie... 936936
- Logo from Locked PDF? 33
- American Musical Supply C… 11
- intern -> job 2121
- Your Last Concert 375375
- the gif animation thread 1132211322
- Steve Jobs FBI file 66
- Shit QBNers think 6969
- What are you listening to… 41734173
- Park Slope 22
- The Elder Scrolls V: Skyr… 7676
PHP scroll question 88 Responses
Last post: 1 year, 11 months ago | Thread started: Mar 11, 10, 9:29 a.m.
- Claymantis
Hi there,
The current page http://www.odoughs.com/products.…
has a list of item on the left. But as you can see the four item is cut off.On this page
http://www.odoughs.com/products.…
You can see that the items scroll.I need the product.php to scroll.
How would I go about doing this? It looks like the scrolling is generated by the PHP??THanks!
- Mar 11, 10, 9:29 a.m. – Permalink
- uan
even if it sounds weird to you...the php doesn't make any scroll...
anyway...your 1st page does scroll, you just forgot to output the scroll-buttons on that page...try scroll with mousewheel, if you don't belive me...
...it's the div that contains the 'products_up.gif' and 'products_down.gif' in the 2nd page.
hope this helps you in some way :)

- Dog-earMar 11, 10, 9:34 a.m. – Permalink
- Claymantis
on my products.php page I have...
<div id="scroll_links">
<?php
mysql_select_db($db_dbase, $connect);
$result = mysql_query("SELECT * FROM products WHERE `cat` = '$catid' ORDER BY `name` ASC");if (mysql_num_rows($result) > 3) {
?>
<a href="#" class="click_up_by_134" title="Click to scroll"><img src="images/products_up.gif" alt="up" /></a>
<a href="#" class="click_down_by_134" title="Click to scroll"><img src="images/products_down.gif" alt="up" /></a>
<?php
} else {
?>
<div id="scrolldeaden"></div>
<?php
}
?>
</div>

- Dog-earMar 11, 10, 9:40 a.m. – Permalink
- Claymantis
on my products.php page I have...
<div id="scroll_links">
<?php
mysql_select_db($db_dbase, $connect);
$result = mysql_query("SELECT * FROM products WHERE `cat` = '$catid' ORDER BY `name` ASC");if (mysql_num_rows($result) > 3) {
?>
<a href="#" class="click_up_by_134" title="Click to scroll"><img src="images/products_up.gif" alt="up" /></a>
<a href="#" class="click_down_by_134" title="Click to scroll"><img src="images/products_down.gif" alt="up" /></a>
<?php
} else {
?>
<div id="scrolldeaden"></div>
<?php
}
?>
</div>

- Dog-earMar 11, 10, 9:40 a.m. – Permalink
- Claymantis
Sorry for the double post.
It says my scroll img are there?


- Dog-earMar 11, 10, 9:41 a.m. – Permalink
- Claymantis
I'm not sure what you mean - when you say I didnt output my scroll buttons?


- Dog-earMar 11, 10, 9:44 a.m. – Permalink


