12 Topics

Member Avatar for
Member Avatar for Mike_H

I am in the process of making an existing website designed in 2005 to be able to work well with wide-screen monitors, tablets and phones. On the existing site, http://pettitslawnscapes.com/html/design___build.html, the menu selection **Design & Build** has six submenus that drop down when your mouse hovers over it. I need …

Member Avatar for zelrick
0
285
Member Avatar for Niloofar24

Hello. Is there any other way for not using the submit button? <?php $user_choice = $_POST['font_styles']; if ($user_choice == "font_style_1"){ $font = 'firstfont'; }elseif ($user_choice == "font_style_2"){ $font = 'secondfont'; }elseif ($user_choice == "font_style_3"){ $font = 'thiredfont'; }elseif ($user_choice == "font_style_4"){ $font = 'forthfont'; } ?> <html> <head> <style> h1 …

Member Avatar for Niloofar24
0
426
Member Avatar for Niloofar24

Hi. I want to create a drop-down menu for user's location (choosing cities) in the form. I know how to create it, but as I want a long list of citis, so is there any other way to create it? Or do i have to create each city one by …

Member Avatar for pixelsoul
0
252
Member Avatar for Niloofar24
Member Avatar for nadiam

Hi, so im trying to insert data but i get: > Notice: Undefined index: events html part: <form method="post" action="seating.php> <div class="drop"> <label>Event : <label/> <select name="events" id="dd-events" onchange="getguests(this.value)"> <option value="" disabled selected >Event</option> <?php foreach($retrieve as $r): ?> <option value="<?=$r['event_id']?>"><?=$r['event_name']?></option> <?php endforeach ?> </select> </div> <input type="hidden" name="table_name[]" value='+tablename+'><span …

Member Avatar for nadiam
0
3K
Member Avatar for joycesam_07

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- "Simple&Sexy" THEMED BY ITSCHERRYDOLL Do not remove the credit please, thank you :) Enjoy the theme! xo --!> <!-- DEFAULT VARIABLES --> <meta name="image:Sidebar" content=""/> <meta name="image:Background" content=""/> <meta name="color:background" content="#FFFFFF" /> <meta name="color:entry" content="#FFFFFF" /> …

Member Avatar for lps
0
421
Member Avatar for iamthesgt

I have a CSS-styled HTML drop-down menu that I want common across all web pages. Right now, I have the HTML coding in each file, but the CSS link is broken in subdirectories so the stlying does not work. How can I get the CSS to be linked properly and …

Member Avatar for iamthesgt
0
192
Member Avatar for Thisisnotanid

Hi all, I'm new to web development and am experimenting with different things; one of which would be creating a visually appealing "drop-down" menu. I had a simple CSS selector setup before but I opted for a JavaScript solution instead, making the change for the greater flexibility which the approach …

Member Avatar for Thisisnotanid
0
239
Member Avatar for Thisisnotanid

Hi all, I've just started learning CSS and HTML to develop websites as a hobby. I was experimenting with what I'm learning and have hit a block (excuse the pun). I'm trying to create a drop-down menu using CSS and HTML alone. In the following I try to assign what …

Member Avatar for Thisisnotanid
0
253
Member Avatar for sagive

Hey, i have created a drop down menu that give me hell and refuses to work in internet explorer.. Can anyone find the error? (its a wordpress website) [B]Here is the menu itself (as i say.. wordpress):[/B] [CODE] <div class="topmenu"> <ul id="nav"> <li id="home" <?php if(is_page('home')){echo "class=current_page_item";} ?>><a href="/index.php">דף הבית</a></li> …

Member Avatar for stbuchok
0
173
Member Avatar for vandris

HI! I'm trying to make a form where a dropdown menu is populated from mysql. My code: [CODE=php]<? $link = mysql_connect('localhost', '****', '****'); if (!$link) { die('Could not connect: ' . mysql_error()); } mysql_select_db('****'); mysql_set_charset("utf8"); $query="SELECT distinct first_name FROM names_table"; $result=mysql_query($query); ?> <select name="first_name" onChange=""> <option>Choose!</option> <? while($row=mysql_fetch_array($result)) { ?> …

0
99
Member Avatar for Hawkeye Python

Hello! I've made a drop-down menu using the hover sub-class in CSS: [CODE].ddmenu{ display:none; } .box:hover .ddmenu{ padding:0px; display:block; }[/CODE] Is it possible to make the "ddmenu" object appear when the user clicks on the object with the "box" class instead of when he hovers the mouse over it using …

Member Avatar for shaya4207
0
127

The End.