Drop Down in PHP
I know in Coldfusion you can place a list in your form that
shows a drop down of all your uploaded audios in a folder.
<cfdirectory action="list"
directory="/audios/productAudios/" name="rsAudios" sort="name"/>
The form can be like...(sample)
<form>
<select name="listen">
<option value="">No Audio</option>
<cfoutput query="rsImage"><option
value="#rsImage.name#">#rsImage.name#</option></cfoutput>
</select>
</form>
Is there a way of doing this on PHP. I have audio's that I
want to be a drop down in my folder but write into MySQL field that
is a text field.
For example. Lets say there is a audio that is 411.mp3. I
want PHP to be a drop down menu of 411.mp3 and others that in it's
folder and when it posts it writes 411.mp3 in MySQL text field.
Can this be done?
Thank you,
AdonaiEchad
I don't do PHP but it would be something like:
$sql = sprintf (SELECT DISTINCT * FROM qry_test WHERE username = %s GROUP BY client_name ASC, $_SESSION['MM_Username'] );
or you can just embed the session variable into the sql string.
But why are you using the GROUP BY clause? If you just need a distinct list of names, use the DISTINCT keyword and reduce your select list to only the needed column.
Similar Messages
-
Drop down list based on log in username - php mysql
I have a drop down list of client names on a php page that filters a second drop down list of site names.
At the moment, any user who logs in can see the entire list of clients, however I want to filter the list based on their username log in.
This is the entire page code, the section in bold is the drop down list in question:
<?php
if (!isset($_SESSION)) {
session_start();
$MM_authorizedUsers = "asguser,admin,member";
$MM_donotCheckaccess = "false";
// *** Restrict Access To Page: Grant or deny access to this page
function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
// For security, start by assuming the visitor is NOT authorized.
$isValid = False;
// When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
// Therefore, we know that a user is NOT logged in if that Session variable is blank.
if (!empty($UserName)) {
// Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
// Parse the strings into arrays.
$arrUsers = Explode(",", $strUsers);
$arrGroups = Explode(",", $strGroups);
if (in_array($UserName, $arrUsers)) {
$isValid = true;
// Or, you may restrict access to only certain users based on their username.
if (in_array($UserGroup, $arrGroups)) {
$isValid = true;
if (($strUsers == "") && false) {
$isValid = true;
return $isValid;
$MM_restrictGoTo = "accessdenied.html";
if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {
$MM_qsChar = "?";
$MM_referrer = $_SERVER['PHP_SELF'];
if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)
$MM_referrer .= "?" . $_SERVER['QUERY_STRING'];
$MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
header("Location: ". $MM_restrictGoTo);
exit;
?>
<html>
<body>
<script type="text/javascript">
function AjaxFunction(client_UID)
var httpxml;
try
// Firefox, Opera 8.0+, Safari
httpxml=new XMLHttpRequest();
catch (e)
// Internet Explorer
try
httpxml=new ActiveXObject("Msxml2.XMLHTTP");
catch (e)
try
httpxml=new ActiveXObject("Microsoft.XMLHTTP");
catch (e)
alert("Your browser does not support AJAX!");
return false;
function stateck()
if(httpxml.readyState==4)
var myarray=eval(httpxml.responseText);
// Before adding new we must remove previously loaded elements
for(j=document.testform.subcat.options.length-1;j>=0;j--)
document.testform.subcat.remove(j);
for (i=0;i<myarray.length;i++)
var optn = document.createElement("OPTION");
optn.text = myarray[i];
optn.value = myarray[i];
document.testform.subcat.options.add(optn);
var url="dd.php";
url=url+"?client_UID="+client_UID;
url=url+"&sid="+Math.random();
httpxml.onreadystatechange=stateck;
httpxml.open("GET",url,true);
httpxml.send(null);
</script>
<form name="testform" method='POST' action='mainck.php'>
Select first one
<select name=cat onChange="AjaxFunction(this.value);">
<option value=''>Select One</option>
<?
require "config.php";// connection to database
$q=mysql_query("SELECT DISTINCT * FROM qry_test GROUP BY client_name ASC");
while($n=mysql_fetch_array($q)){
echo "<option value=$n[client_UID]>$n[client_name]</option>";
?>
</select>
<select name=subcat>
</select><input type=submit value=submit>
</form>
</body>
</html>
I think I need to amend the sql statement to something like this - but I haven't quite got it right:
SELECT DISTINCT * FROM qry_test WHERE username = colname GROUP BY client_name ASC
Where do I drop the code for the colname info?
name:colname
type: text
default value: -1
run time value: $_SESSION['MM_Username']
Thanks!I don't do PHP but it would be something like:
$sql = sprintf (SELECT DISTINCT * FROM qry_test WHERE username = %s GROUP BY client_name ASC, $_SESSION['MM_Username'] );
or you can just embed the session variable into the sql string.
But why are you using the GROUP BY clause? If you just need a distinct list of names, use the DISTINCT keyword and reduce your select list to only the needed column. -
hi Everyone, my turn for help-
I have inherited a web project from another person and have
an issue regarding a drop down list that is tied in some way to
another drop down list, the 2 are side by side as seen here >
http://www.srf.org/preview/
< at the top you will see a SEARCH field then a Drop Down where
the user can select ALL , INTERNATIONAL, or DOMESTIC. Next to that
is a drop down list with YEAR as a choice.
the two drop down lists are tied together so that (which I
don't want) if you pick a YEAR then it reverts the other DD to
INTERNATIONAL
I need it so that both fields run independent of each other.
here is the PHP for the table it lies within:
<td width="679" bgcolor="#EEEEEE"><input
name="cerca" type="text" class="dataHpNews" size="16">
in
<select name="categoria" class="dataHpNews"
id="categoria"
onChange="MM_changeProp('mytype1','','selectedIndex','0','SELECT')">
<option <?php if ($categoria=="all") echo("selected");
?> value="all" selected>All</option>
<option <?php if ($categoria=="Domestic")
echo("selected"); ?> value="Domestic">Domestic
Grants</option>
<option <?php if ($categoria=="International")
echo("selected"); ?> value="International">International
Grants</option>
</select>
and in year
<select name="mytype1" id="mytype1"
onChange="MM_changeProp('categoria','','selectedIndex','2','SELECT')">
<option value="" <?php if (!(strcmp("",
$row_programarea['nome']))) {echo "selected=\"selected\"";}
?>>Select...</option>
<?php
do {
?>
<option value="<?php echo
$row_programarea['nome']?>"<?php if
($row_programarea['nome']==$mytype1) {echo
"selected=\"selected\"";} ?>><?php echo
($row_programarea['family'].", ".$row_programarea['nome']);
?></option>
<?php
} while ($row_programarea = mysql_fetch_assoc($programarea));
$rows = mysql_num_rows($programarea);
if($rows > 0) {
mysql_data_seek($programarea, 0);
$row_programarea = mysql_fetch_assoc($programarea);
?>
</select>
<input name="Submit" type="submit" class="dataHpNews"
value="Go"></td>
can someone help me clear this issue?
I'm a Flash guy and have rudimentary PHP skills
Thanks a Billion
R2rezun8 wrote:
> the two drop down lists are tied together so that (which
I don't want) if you
> pick a YEAR then it reverts the other DD to
INTERNATIONAL
> I need it so that both fields run independent of each
other.
> I'm a Flash guy and have rudimentary PHP skills
The PHP has nothing to do with the change in the drop-down
menus. It's
controlled entirely by the JavaScript onChange event.
Remove the following code from both select elements:
onChange="MM_changeProp('mytype1','','selectedIndex','0','SELECT')"
and
onChange="MM_changeProp('categoria','','selectedIndex','2','SELECT')"
The PHP code has an effect only when the page is reloaded,
because PHP
is a server-side language. The connection between the two
drop-downs is
controlled on the client-side by JavaScript.
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
Country state drop down list oracle & php
Hi all.
I'm new in this forum.
I have created two tables :
create table countries
country_id int not null,
country_name varchar2(50),
constraint countries_country_id_pk primary key (country_id)
create table states
state_id int not null,
state_name varchar2(50),
country_id int,
constraint states_state_id_pk primary key (state_id),
constraint states_country_id_fk foreign key (country_id) references countries (country_id)on delete cascade
and insert data.
I have connect to oracle database by this php file.
<?php
$conn = oci_connect('hr', 'hekal', 'or');
if (!$conn)
$e = oci_error();
trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR);
?>
then I make combobox dropdown list like that
<?php
include ('../connect_db.php');
$sql = 'select * from countries order by country_name';
$stid = oci_parse($conn, $sql);
oci_define_by_name($stid, 'country_id', $country_id);
oci_define_by_name($stid, 'country_name',$country_name);
oci_execute($stid);
?>
<select name="country">
<?php
while (oci_fetch($stid)) {
?>
<option value="$country_id" id="country_id"> <?php echo"$country_name" ; ?></option>
<?php } ?>
This code get values into drop down list
and make another to the states.
But I need to connect the two each other.
I need when I choose USA. the other list show only states of USA
thank youSee multiple dropdown
-
PHP - Drop down menu - Images??
I have a drop down box to select a color. Is it possible to have the drop down box display a small box with the color? I tried adding it as an image but it didn't display anything. Thanks.
rezun8 wrote:
> the two drop down lists are tied together so that (which
I don't want) if you
> pick a YEAR then it reverts the other DD to
INTERNATIONAL
> I need it so that both fields run independent of each
other.
> I'm a Flash guy and have rudimentary PHP skills
The PHP has nothing to do with the change in the drop-down
menus. It's
controlled entirely by the JavaScript onChange event.
Remove the following code from both select elements:
onChange="MM_changeProp('mytype1','','selectedIndex','0','SELECT')"
and
onChange="MM_changeProp('categoria','','selectedIndex','2','SELECT')"
The PHP code has an effect only when the page is reloaded,
because PHP
is a server-side language. The connection between the two
drop-downs is
controlled on the client-side by JavaScript.
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
Populating a Drop-Down Menu via xml in php
I am new at programming. I am looking for a way to link a drop menu to 3 drop down menus dynamically. In other words, the 3 ddm's will have the same options according to the value selected in first ddm. Can someone provide a tutorial for this? Also, i am using php to pull the data for those ddm's from xml file.
Thank Youphp is server side... so you want user to choose option from dd menu #1, reload the page to populate dd menu #2 (process on server via php), choose option from dd menu #2, reload the page again to populate dd menu #3 (process on server via php), then finally choose option from dd menu #3 and then after reloading the page three times already (once for initial load and two more time for each subsequent server process) load the page for a fourth time to process the entire form entry? Whoa daddy... that's a lot of page loads.
Just want to be clear of your desire. I don't think you'll find many tutorials for the mentioned method. There are many, many three tier drop down menus in javascript that provide client side processing without page reload. -
Problem with checkbox and drop down menu
I am using DW8 with PHP/MySQL.
I made a insertion form and a couple of the fields are
checkboxes and another is a drop down menu. Everything works fine,
however, when I create an update form and the recordset calls the
data it doesn't retain its values on those items.
For example, if I checked a box when inserting the record and
then call the data up for the update form, the box is not checked,
making the user believe it was never checked in the first place.
The same thing goes for the drop down menu. If I have 3
options in the menu and someone selects the third one, when the
update form is used it defaults to the first option automatically
instead of actually calling up the original value selected.The fact that two scripts do not work together does not mean
there is a bug in the RH script. It is simply that they were not
designed by their respective developers to work together. This
happens with multiple scripts in any html file.
Try creating a new project and then importing just this topic
into it. Does it still have the problem? -
Drop down menu turning to all caps after clicked in browser
Problem. drop down menu turning to all caps after clicked in browser, instead of staying upper and lower case.
Originally, I made the drop downs in fireworks CS3. Then when I work with them in dreameaver CS3.
It looks perfect UNTIL ... after clicking on dropdown once, then go back to that page and that particular dropdown menu turns to ALL CAPS instead of what it should look like.
How can I make it NOT do that?
I did NOT do any special code that I know of to cahnge anything, I hav not experienced this problem before.
Here is a link to my website I am designing.
http://greenairenvironmental.com/3/Asset_Property.html
I need help to fix this problem. Thank You in advance.
http://greenairenvironmental.com/3/Asset_Property.html
I have attached the automatically generated .css file from fireworks that might be the source of the problem.Take a look for this selector in your greenair.css file:
a:visited {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
text-transform: uppercase;
color: #9FCE62;
and remove the text-transform.
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
How do I get my drop down lists in alphabetical order?
Got a new computer and installed Firefox 3.6.10. I moved over my bookmarks, etc. from the old computer. However, all of my drop-down lists are not in alphabetical order any more. And if I use one of the entries, it will sometimes move to a different order than it had been when I clicked on it. How do I get them back in alphabetical order?
The entries for form field are in current Firefox version is the order that you add them and not ordered alphabetically.<br />
Maybe an extension like Autofill Forms can sort them.
I'm not using it, so you need to check that yourself.
Autofill Forms: https://addons.mozilla.org/firefox/addon/4775
See also http://forums.mozillazine.org/viewtopic.php?f=38&t=790815&p=8823995#p8823995 -
There are 2 issues that arise in Firefox but not other browsers.
1. The "All Categories" drop down menu is not aligned with the search field and search button.
2. The company logo appears pixelated.
The website is www.fortune3.com/evereadyhardware
Please view in Firefox and in Chrome to note the differences. Thank you.Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
http://forums.mozillazine.org/viewforum.php?f=25 <br />
You'll need to register and login to be able to post in that forum. -
Using a different background for the drop down options in a spry menu bar
Hi all,
I am trying to set just a background color in the drop down menu, I have a background image repeated along the x asis at the top but this has come down into the sub menu bar how can I change just the lower drop down menu to just a solid color??
I have tryed google and youtube to try to find a answer but have had no luck in finding the solution to this problem.Give a man a fish, you feed him for a day. Teach a man to fish, he eats every day…
winabe23, you joined this month—probably because you were having trouble with CSS and HTML and you have certainly come to the right place.
I'm going to send you to several places I have found helpful in understanding how you can make drop-down menus in CSS without the need for JavaScript—though JS may be necessary for certain older browsers that do not understand pseudo classes and may be necessary for the blind or keyboard navigation.
CSS Wizardry has a great tutorial here.
Line25 has one here.
For those who don't want to have to wrangle code, here is a menu generator from PureCSSMenu.
Here's a page by Eric Meyer who describes how the concept works.
And here is a video tutorial by "zorro30mum." It's in two parts, but there is a link to Part 2 below Part 1.
The reason why I am posting all of these links in my answer is because you're using Spry. And Spry has been found wanting by Adobe and they are deprecating and abandoning it.
The Spry framework is an open source Ajax framework that Adobe developed. Ajax stands for Asynchronous JavaScript And XML. On August 29th 2012, Adobe handed over Spry to github. If you want to help github develop Spry, there is a site for that, but I'm thinking you're not a JavaScript developer.
I would recommend you pay a little more attention and time to Ajax, which is not deprecated and not discontinued. It allows you to do client-side triggers for server-side code. But that's if you want to do work in JavaScript, XML and a server-side language, like Cold Fusion, php or ASP.
But in the meantime, the tutorials above will get you into understanding how this whole menuing stuff is done in CSS and give you the understanding necessary to do simple stuff, like changing the color of a background for a drop-down.
I hope this helps you make great websites!
-Mark -
DW Pop-Up / Drop-Down Menu Problems
Hi. I am new to this forum and I am not a pro web designer
(but am proficient with web / graphic design software), so bear
with me...
I am using Dreamweaver MX and Fireworks MX (not the 2004
versions) to re-design a new website for my photography biz (I am,
of course, using PhotoShop for some graphics/images too).
I want to use a horizontal navigation bar (with 9 buttons)
and drop-down menus on the new site.
My first attempt was to design the nav bar in FW and export
it into DW (preferably into a Template). The nav bar design (w/
drop-down menus) in FW was simple. Exporting was also simple.
However, I experienced major problems when inserting the "piece"
into a FW document (I use "tables" and not "frames"; no CSS nor
Flash).
Once the nav bar is inserted into a DW table, it doesn't work
in the Browser (latest version of Safari; I use a Mac PowerBook).
Some times, it did work, but most others, it did not. FRUSTRATING.
I then decided to simply design the nav bar "buttons" in FW
(with simple roll-over to change text color / size on each button)
and realized that DW can also do Drop-Down / Pop-Up menus. This was
successful at first, but now when I try to insert numerous buttons
into a DW document (multi-row and column table), I get the same
result in that the d-d menus do not work when viewing in the
browser (but the roll-over text effect does work). STILL
FRUSTRATING.
I have also tried to save the nav bar / buttons as Library
Items, but to no avail. This is rather important should I decide to
one day change the navigation on the site (it will have over 25
pages to start with).
I have been on the Adobe site and have read numerous tech
reports to try and solve this. I have also come across a few notes
on this forum, so decided to give it a shot. Quite simply:
1. Am I wasting my time using an older version of DW and FW
(even though I have no interest in using fancy Flash stuff and have
no interest in being a pro web designer; I do want to do my own
site and maintain it though...). Should I upgrade to Version 8 of
the suite?
2. I see that some third-party software is available to do
Drop-Down menus. Should I take this route? Will these extensions
work in the older version of DW?
3. My nav bar will be relatively simple, both in appearance
and functionality. So, I do not need any extravagant type of
software. Can anyone recommend something for me?
4. The following link is the only attempt that I had at
getting the nav bar to operate both locally on my browser and
uploaded on to my host server. I am not 100% happy with the
appearance, but when I went to change it, I had the same problems
detailed above (i.e., it didn't work). This example was done with
FW into DW. It was simply a test (to see if uploading the page on
to the server would get the drop-downs to work), so none of the
links have been inserted into the menu selection tabs.
http://www.vagabondvistas.com/test/home_page_test.html
Thanks for your help. Sorry about the long message, but I
wanted to include enough detail such that you wouldn't have to come
back to me for numerous questions...
Dave> 1. Am I wasting my time using an older version of DW and
FW (even though
> I
> have no interest in using fancy Flash stuff and have no
interest in being
> a pro
> web designer; I do want to do my own site and maintain
it though...).
> Should
> I upgrade to Version 8 of the suite?
Depending on your expertise level, DMX may be all you you
need. But where
you are wasting your time is by fiddling with these awful
pop-up menus.
Those who understand them left them behind when they were
first introduced.
Read this -
http://apptools.com/rants/jsmenu.php
http://apptools.com/rants/menus.php
> 2. I see that some third-party software is available to
do Drop-Down
> menus.
> Should I take this route? Will these extensions work in
the older version
> of
> DW?
Yes, and yes, and don't think twice about doing it! Use the
PVII methods or
commercial products. They are what you need.
> 3. My nav bar will be relatively simple, both in
appearance and
> functionality.
> So, I do not need any extravagant type of software. Can
anyone recommend
> something for me?
If really simple, check even the MiniMenus from
http://www.fourlevel.com
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"VagabondVistas" <[email protected]> wrote
in message
news:[email protected]...
> Hi. I am new to this forum and I am not a pro web
designer (but am
> proficient
> with web / graphic design software), so bear with me...
>
> I am using Dreamweaver MX and Fireworks MX (not the 2004
versions) to
> re-design a new website for my photography biz (I am, of
course, using
> PhotoShop for some graphics/images too).
>
> I want to use a horizontal navigation bar (with 9
buttons) and drop-down
> menus
> on the new site.
>
> My first attempt was to design the nav bar in FW and
export it into DW
> (preferably into a Template). The nav bar design (w/
drop-down menus) in
> FW
> was simple. Exporting was also simple. However, I
experienced major
> problems
> when inserting the "piece" into a FW document (I use
"tables" and not
> "frames";
> no CSS nor Flash).
>
> Once the nav bar is inserted into a DW table, it doesn't
work in the
> Browser
> (latest version of Safari; I use a Mac PowerBook). Some
times, it did
> work,
> but most others, it did not. FRUSTRATING.
>
> I then decided to simply design the nav bar "buttons" in
FW (with simple
> roll-over to change text color / size on each button)
and realized that DW
> can
> also do Drop-Down / Pop-Up menus. This was successful at
first, but now
> when I
> try to insert numerous buttons into a DW document
(multi-row and column
> table),
> I get the same result in that the d-d menus do not work
when viewing in
> the
> browser (but the roll-over text effect does work). STILL
FRUSTRATING.
>
> I have also tried to save the nav bar / buttons as
Library Items, but to
> no
> avail. This is rather important should I decide to one
day change the
> navigation on the site (it will have over 25 pages to
start with).
>
> I have been on the Adobe site and have read numerous
tech reports to try
> and
> solve this. I have also come across a few notes on this
forum, so decided
> to
> give it a shot. Quite simply:
>
> 1. Am I wasting my time using an older version of DW and
FW (even though
> I
> have no interest in using fancy Flash stuff and have no
interest in being
> a pro
> web designer; I do want to do my own site and maintain
it though...).
> Should
> I upgrade to Version 8 of the suite?
>
> 2. I see that some third-party software is available to
do Drop-Down
> menus.
> Should I take this route? Will these extensions work in
the older version
> of
> DW?
>
> 3. My nav bar will be relatively simple, both in
appearance and
> functionality.
> So, I do not need any extravagant type of software. Can
anyone recommend
> something for me?
>
> 4. The following link is the only attempt that I had at
getting the nav
> bar
> to operate both locally on my browser and uploaded on to
my host server.
> I am
> not 100% happy with the appearance, but when I went to
change it, I had
> the
> same problems detailed above (i.e., it didn't work).
This example was
> done
> with FW into DW. It was simply a test (to see if
uploading the page on to
> the
> server would get the drop-downs to work), so none of the
links have been
> inserted into the menu selection tabs.
>
> <a target=_blank class=ftalternatingbarlinklarge
> href="
http://www.vagabondvistas.com/test/home_page_test.html
>
> ">
http://www.vagabondvistas.com/test/home_page_test.html
>
> </a> Thanks for your help. Sorry about the long
message, but I wanted to
> include enough detail such that you wouldn't have to
come back to me for
> numerous questions...
>
> Dave
> -
Getting problem in hiding drop down list in jsp pages
Hi All,
I have a jsp in which i created a tabbed panel & put 3 forms .
1 of the form contains 3 drop dwom list & few text boxes.
All 3 forms are inside <div> tags .
Clicking on any one of the tab corresponding form is getting displayed with all its form fields hiding other 2 form fields.
but problem is coming with 1 form having drop down list.
all its field get hidden except these drop down list.
i am using following script to hide other forms
function showit(tab){
if(tab == "tab1stuff"){
document.getElementById('tab1stuff').style.zIndex="2";
document.getElementById('tab2stuff').style.zIndex="1";
document.getElementById('tab3stuff').style.zIndex="1";
document.getElementById('tab4stuff').style.zIndex="1";
else if(tab == "tab2stuff"){
document.getElementById('tab2stuff').style.zIndex="2";
document.getElementById('tab1stuff').style.zIndex="1";
document.getElementById('tab3stuff').style.zIndex="1";
document.getElementById('tab4stuff').style.zIndex="1";
else if(tab == "tab3stuff"){
document.getElementById('tab3stuff').style.zIndex="2";
document.getElementById('tab1stuff').style.zIndex="1";
document.getElementById('tab2stuff').style.zIndex="1";
document.getElementById('tab4stuff').style.zIndex="1";
}Plz help me in this regard.
I used style.visible="false" but that is not working here.
Thanks in advance.Thanks you very much.
Now I am using javascript
if(tab == "tab1stuff"){
document.getElementById('tab1stuff').style.visibility="visible";
document.getElementById('tab2stuff').style.visibility="hidden";
document.getElementById('tab3stuff').style.visibility="hidden";
document.getElementById('tab4stuff').style.visibility="hidden";
} Its working ..Earliar it was PHP script. -
In previous versions of Mozilla we had drop-down menus that contained flyouts that offered more drop-down options. This no longer works in Mozilla 4. If you look at our website in IE7, 8 or 9 and Mozilla 4.0.2 they now work differently. (www.saskschoolboards.ca) Eg. Under About Us / Committees there should be three more dropdowns on a flyout - Committee List; MEPP Report and Semi-Annual Report form. Mozilla 4.0 only shows Committee List and no other drops downs. All of our flyouts are showing only the first selection and nothing else.
Other affected menus dropdowns are:
Board Dev / Trustee Development (there should be 4 dropdowns - not just one)
Communications has Surveys and Elections
Why is Mozilla not showing our menus correctly anymore?
Andrea Ashton - [email protected]I see this error in the Tools > Error Console:<br />
<br />
<blockquote>Error: D.getStyle is not a function
Source File: http://www.saskschoolboards.ca/js/mootools.js
Line: 279
</blockquote>
It looks that the mootools script is no longer compatible with Firefox 4.<br />
Google Chrome behaves the same and also doesn't open the sub-menus properly and keep the first entry on display once it is open.
Did you check if there is an update for that script?
A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
The helpers at that forum are more knowledgeable about web development issues.<br />
You need to register at the mozillaZine forum site in order to post at that forum.<br />
See http://forums.mozillazine.org/viewforum.php?f=25 -
I have had my Note 3 since about 14 months now and have loved it until the last Verizon update. Since the update my reception is very poor / "breaks up" in my shop. This is the same shop I have been working in for 6 YEARS!!! Also when I select a drop down tab like a credit card month and make my selection it NEVER saves the 1st time, always have to do it 2x. The internet used to work great in my shop and could stream Pandora without an issue, now it take 2 minutes to load the first song.
I feel these simple software issues could make people feel the need to upgrade their phone even though there is nothing wrong with their current phone, pretty creative sales tactic if you ask me. All I want is my phone to work like it did prior to the 1/16/2015 update. If I have change my ways and run my off wifi everywhere like I had to back when I had Sprint I might as well switch to a cheaper provider.
My time is money and wasting time trying to make a phone work like it did before a software update is very frustrating. I have already gone to a Verizon store and was told to do a complete reset. I spent 2 hours saving everything to my cloud, reset the phone and the same problems still exist. Please help me find a solution to my problems ASAPIt is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to internet for Firefox and the plugin-container process and the updater process.
See:
*https://support.mozilla.org/kb/Server+not+found
*https://support.mozilla.org/kb/Firewalls
*https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating
Do a malware check with several malware scanning programs on the Windows computer.<br>
Please scan with all programs because each program detects different malware.<br>
All these programs have free versions.
Make sure that you update each program to get the latest version of their databases before doing a scan.
*Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
*AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
*SuperAntispyware:<br>http://www.superantispyware.com/
*Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
*Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
*Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
*Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
You can also do a check for a rootkit infection with TDSSKiller.
*Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
See also:
*"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
Maybe you are looking for
-
Since I've done the ios6 update on my ipad2, when I FaceTime someone the person on the other end says all they hear is static and my voice very faintly. Anyone know how to fix this? Thank you.
-
Sender's Complete Address in Mail's InBox
Hello everyone - I have Mail 1.3.11 running with my OSX 10.3.9. Is there any way to have Mail display the senders' complete addresses (ie: [email protected]) in its InBox rather than just their short names (ie: Joe) before opening that mail? Many tim
-
I have purchased apps recently which are not showing against my purchases. If I went into app again & downloaded them will I be recharged. I have a receipt for the purchases?
-
I'd really like to upgrade to the latest OS (Mountain Lion?), but Snow Leopard is required to upgrade to Mountain Lion.
-
How can I load Elements 12 if new AiO computer has no CD slot? Have the CD & serial number.