jaVascript quesTion
jaVascript quesTion
Out of context: Reply #18
- Started
- Last post
- 26 Responses
- heavyt0
inside of the function you can use a simple IF statement.
so, before the "window.location =page + base + ext;"add:
if (base > 0 && base < 4){then put a "}" after the "window.location ..."
in that case, it is checking that the page is more than 0, and less than 4. Feel free to change the numbers.
TR1