Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

THRASHx

Members
  • Joined

  • Last visited

  1. THRASHx posted a topic in Frontend
    Hey, Im using CSS3 to create fading transitions on the mouseover of my navigation bar, it fades in perfectly but it doesnt fade back out. I dont really see what im doing wrong? Ive seen other people doing it fine but it just wont work for me for whatever reason. Ive provided the code but like I say, its fading in fine. Thanks in advance EDIT - Fixed, please delete this thread.
  2. At the minute the person uses Joomla but I wouldntve known it until I viewed the source code. It looks like a normal functioning website, he seems to manage adding things just fine though. I remember a while ago I looked at creating a theme for Joomla but it was quite daunting at the time, although then I was less experienced. I like WordPress a lot more, never made a theme for it though, I cant imagine its that hard but whats the best way to approach it? Take a look at themes already made and edit the code so it looks how I want it? Or make it from scratch? Or maybe some other way?
  3. Hi everyone, Im very new to the whole CMS thing, ive been looking at various tutorials to create my own for the past few days but a lot of them dont actually work or are incomplete which is quite annoying. I was only looking to create my own because I wanted to make a website where the client can add content to the website without having to open the html/php files to insert the body text or whatever. I havent really used Joomla or WordPress before but a lot of the stuff isnt really relevant like the comments, trackbacks, etc. the client just wants to create new pages easily (which I will style using CSS) and be able to just simply enter the content of the page. Ive given up on making my own CMS and am now looking into porting a website design to WordPress or Joomla, whichever one is easier? Thanks for any help you can provide.
  4. THRASHx posted a topic in Frontend
    Hey guys, Im working on a website and on every page in the footer there is a link saying contact us, there is also a contact page on the main navigation. Im using Fancybox to show other webpages and images, but I want to use it to show the primarycontent div which is on the contact.html page. When I follow the instructions for showing inline areas it just brings up the primarycontent of the page I am currently on despite changing the ref to contact.html#primarycontent. Has anyone done this before or have any idea how I might be able to do it? Thanks
  5. Ok then, I have 2 files but like I say, to someone who knows a bit more about PHP could probably make it work in about 20 lines rather then two long files. services.php <?php # This block must be placed at the very top of page. # -------------------------------------------------- require_once( dirname(__FILE__).'/form.lib.php' ); phpfmg_display_form(); # -------------------------------------------------- function phpfmg_form( $sErr = false ){ $style=" class='form_text' "; ?> <form name="frmFormMail" action='' method='post' enctype='multipart/form-data' onsubmit='return fmgHandler.onsubmit();'> <input type='hidden' name='formmail_submit' value='Y'> <div id='err_required' class="form_error" style='display:none;'> <label class='form_error_title'>Please check the required fields</label> </div> <ol class='phpfmg_form' > <li class='field_block' id='field_0_div'><div class='col_label'> <label class='form_field'>Name:</label> <label class='form_required' ></label> </div> <div class='col_field'> <input type="text" name="field_0" id="field_0" value="<?php phpfmg_hsc("field_0"); ?>" class='text_box'> <div id='field_0_tip' class='instruction'></div> </div> </li> <br /> <li class='field_block' id='field_1_div'><div class='col_label'> <label class='form_field'>Email Address:</label> <label class='form_required' ></label> </div> <div class='col_field'> <input type="text" name="field_1" id="field_1" value="<?php phpfmg_hsc("field_1"); ?>" class='text_box'> <div id='field_1_tip' class='instruction'></div> </div> </li> <br /> <li class='field_block' id='field_2_div'><div class='col_label' id="sprytrigger5"> <label class='form_field'>Order:</label> <label class='form_required' ></label> </div> <div class='col_field'> <?php phpfmg_checkboxes( 'field_2', "Basic 5-page website|jQuery/JavaScript elements|Video creation" );?> <div id='field_2_tip' class='instruction'></div> </div> </li> <br /> <li class='field_block' id='field_3_div'><div class='col_label'> <label class='form_field'>Additional Pages:</label> <label class='form_required' ></label> </div> <div class='col_field'> <input type="text" name="field_3" id="field_3" value="<?php phpfmg_hsc("field_3"); ?>" class='text_box'> <div id='field_3_tip' class='instruction'></div> </div> </li> <br /> <li class='field_block' id='field_4_div'><div class='col_label'> <label class='form_field'>Additional Information:</label> <label class='form_required' ></label> </div> <div class='col_field'> <textarea style="font-family: Georgia, 'Times New Roman', serif" name="field_4" id="field_4" rows=4 cols=25 class='text_area'><?php phpfmg_hsc("field_4"); ?></textarea> <div id='field_4_tip' class='instruction'></div> </div> </li> <div class='col_label'> </div> <div class='form_submit_block col_field'> <input type='submit' value='Submit' class='form_button'> <span id='phpfmg_processing' style='display:none;'> <img id='phpfmg_processing_gif' src='<?php echo PHPFMG_ADMIN_URL . '?mod=image&func=processing' ;?>' border=0 alt='Processing...'> <label id='phpfmg_processing_dots'></label> </span> </div> </ol> </form> There is also form.lib.php but its so long I didnt wanna post it, theres also a bit after the closing form tag but its CSS so I didnt bother posting that.
  6. Hey guys, Im working on a friends web design site, he has a form where the user enters their name, email, selects what they want to order, if they want any additional pages and an additional comments text area. Ive managed to set it up so an email is sent to him and the person who fills the form out but I want it to calculate the total price of the order before you submit it, but I have no idea how to go about it cus the email script is pretty complicated already. I used a generator for the form and changed it for what I needed it to do so it could definitely be simplified. If someone could give me some direction id appreciate it, I like to do design but not development. Thanks
  7. Ive created a basic php shopping cart where the user addes products to the shopping cart and this is working fine. The only thing I need to do now is add some sort of way for the user to pay for their products. I was wondering if anyone could point me in the right direction to do this? Im only using this for a college project so I dont really want to pay monthly fees and such. Any adivce would be good, thanks.
  8. How did I not see that, thanks a lot!
  9.    THRASHx reacted to a post in a topic: Syntax error: unexpected T_STRING
  10. Hey guys, Im trying to add a shopping cart to my website, I did what I usually do and try it out in a new, blank PHP file. Then when ive tested it and it works I put it into my website. So it worked fine originally, so I tried to copy the whole code and paste it into the existing webpage I want it to be included in. So I try it and it seems good, until I upload it and get the following error when I try to visit the page: Parse error: syntax error, unexpected T_STRING in /home/vhosts/citytourism.eu5.org/cart/index.php on line 92 Im just creating a tourism website for a project at college. The PHP used can be seen below: Where line 92 is: $output[] = '<li>.$row['name'].': £'.$row['price'].'<br /><a href="cart.php?action=add&id='.$row['id'].'">Add to cart</a></li>'; If someone could help me identify whats wrong id really appreciate it. Ive tried messing with it so there may be some other things wrong now, but either way, it always points me to the line pasted above. Thanks
  11. Thats brilliant, thanks a lot for the help! EDIT - When putting more content into the divs, for example the nav div, it expands into the body div which I was having problems with before. I was wondering if someone could tell me how to stop that from happening? Its part of a website im doing about accessible websites so it would be quite ironic if the text size couldnt increase without it distorting the whole website.
  12. Im trying to create the following layout but I just dont know enough about creating layouts to actually do it :/ Id appreciate it if someone could help me. Thanks
  13. Thanks for all the help. Yesterday I did have a look at the templates in Dreamweaver and managed to adapt them to suit the layout I want. However, I was wondering what the difference is between a liquid layout and an elastic layout, I know about liquid layouts and I chose to use a liquid template, but what about elastic? Thanks, as I said before, a complete n00b to CSS and havent even done a website in a while
  14. Hey guys, Basically im creating a website and I know how outdated tables are for content, so I decided to create a little mock-up in Illustrator, slice and then export and import into Dreamweaver. This was all good, im not very familiar with CSS although I am more familiar now then when I started the project. But anyway, I deleted the gifs it created in the layout and applied to stylesheets, etc. I then carried on with the design and I had a number of good looking pages which I was very happy with. That was until I took a closer look at the code, for some strange reason I had my CSS layout and a table layout, I dont really know how to explain, I was certain it was CSS but in the code theres definitely tables and if I make the border 1px you can see the border of this table where my CSS layout should be, because of this im getting huge gaps between the header, body and footer. If someone could help me id appreciate it. Heres an example of what I mean: <div id="layout"> <!-- ImageReady Slices (Untitled-1.html) --> <div style="position:absolute; left:0px; top:0px; width:1024px; height:1024px; font-family: Verdana, Geneva, sans-serif; color: #FFF;"> <table id="Table_01" width="1024" height="979" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="318" rowspan="2" align="left" valign="top"> </td> <td width="706" height="201" align="left" valign="middle"><div id="header"> <p align="left"><img src="images/City Tourism Vector2.png" width="88" height="79" alt="CityTourismLogo"><img src="images/CityTourism1.png" width="120" height="29" alt="CityTourism"></p> <p><FONT size="1">- Tourist information for the City</FONT></p> <p> </p> </div></td> </tr> Thank you

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.