February 25, 200818 yr hello all. my name is leah I am relitavely new to web site design yet have coded my new site from scratch in php. I want my front page to blend into my shop page and am not finding any help whatsoever on the net. I also want to slide my navigation menu from the middle to the left while the background goes to black and then fades in the new page. I am thinking of using the alpha setting on a black .png and showing it when my shop button is clicked but don't know how to declare the alpha setting as a variable and cant find help anywere to set a time delay and redirect, I have this so far, lingerie only shop and home button work! (so far) Please could some clever computer person tell me; 1 can i use php? 2 how to use "alpha" as a veriable? 3 how to use onclick to pause and redirect? 4 and can I preload images in this wait time for the next page? I hope this question is in the correct place as i am new to this! Any help/advise/ideas on the site would be BRILLIANT as this is my first proper site i coded from text!
February 25, 200818 yr Firstly welcome to the forum Do you actually have any knowledge of PHP - some of the things you wish to do are quite advanced so a good programming knowledge is essential. The preload and onclick functions can be done via javascript - I normally put preload image functions just before the html starts.
February 25, 200818 yr Author Firstly welcome to the forum Do you actually have any knowledge of PHP - some of the things you wish to do are quite advanced so a good programming knowledge is essential. The preload and onclick functions can be done via javascript - I normally put preload image functions just before the html starts. Hello nice to get a reply thank you! yes i have basic knowledge of php, javascript, html, css, asp etc i have programed using basic since the amstrad cpc 464 so am converting to pc/ webdesign. i just want to click on shop and slide my nav buttons over left while fading to black, then fade in new page. just a little help with what to look for on google what language etc all help would be cool! i would profer to use php for speed and size. ta for a reply
February 25, 200818 yr Welcome to WDF! I admire you giving a go at coding a shopping site,it's a huge and complex job. I'd suggest looking to build your site around an existing PHP shopping cart system because all the code is done for you and you can spend time developing the look and feel. For your want to to fancy things like sliding menus I'd say "don't"! It may look good to you but your visitors won't appreciate it - after all they will come to your site to buy lingerie right? Concentrate on functionality first, make is as easy as possible for customers to find products and buy them.
February 25, 200818 yr Author the idea of sliding menu's and fading screens does sound memory intensive but if implemented properly doesn't need huge resources as it can be done cleverly, I want to do it from code as this is the most effective way to pack with effects without sucking speed. All i need to know is how to use php in html,css eg PHP <? $left = 10 ?> HTML <div style=" top: 2; left: $left; position: absolute; z-index: 1; visibility: show;"> <p>eg<a href="eg.php">eg</a></P> </div> how can i make this work?
February 25, 200818 yr Author got it; <?php $left = 19 ?> <div style=" top: 2; left: <?php echo $left ?>; position: absolute; z-index: 1; visibility: show;"> <p>eg<a href="eg.php">eg[/url]</P> </div>
Create an account or sign in to comment