Right Align Dropdown Menu
I'm working on my mobile site and have a dropdown box on the right edge of the screen. I can't figure out how to get it so the dropdown boxes are right-aligned with the edge of the box. At the moment they are left aligned, which means the menu items disappear off the right edge of the screen. Am I missing something or is this not possible?
Could you post your Screenshot and code.
There is "browse" icon above POST REPLY button, it helps to add your image.
Similar Messages
-
Align select dropdown menu on the right edge of parent box
Hello,
I was wondering if you can help me about an issue i have with Firefox browser.
I'm designing a webpage and i have a "<select>" menu with numerous options.
On Firefox the left edge of the dropdown menu aligns to the left edge of the
parent "<select>" box whereas in other browsers (Chrome, IE) aligns to the right.
The entire menu, is located on the right edge of my page
The result is when the innertext of an option is very long,
exceeds the margins of the page and is cut.
Is there any hidden option (css-fix), so that i could make dropdown menu align to
the right of the parent box , just like other browsers?
(I have some screenshots of the menu, but i don't know where to post them)
Thank you in advance!Could you post your Screenshot and code.
There is "browse" icon above POST REPLY button, it helps to add your image. -
CSS (Responsive) Horizontal Dropdown Menu (Alignment)
I am styling a Responsive CSS Horizontal Dropdown Menu (for hours now), and can not get the main menu headings (Directory, Resources, etc) to align left (even) with the logo and content divs. I would also like the submenu headings (Learning & Games) and items (Catch the Bullet, Snoopydoo, etc) to align left (even) with the logo and content divs. - Like I am trying to do with the main headings. --I am trying to get the logo, main menubar heading, and menubar subheading to all align the same left.
(Optional) I am considering on not having the gray menuboard span the whole screen when opened. Not sure if this would look good, but even more unsure how to keep it in the 90% container the menubar is located in.
Here is the site for code:
http://dothopper.com/index.html
Thanks for any help.Another great tip. Never cease to amaze. Thanks . I uploaded the new CSS with red border and looked at somewhat. It seems very helpful, but like this navbar, I'm gonna have to spend some time with. I think this may help me to figure the problem. This is a really GREAT trick, thanks. If you appen to look at my site, and see anything relevant to getting the element to shift left, let me know.
BTW, crammed some more learning recently (Mostly Dreamweaver, little HTML STructure, and JQuery). Going to try to not use as many divs, (use HTML tags and class selectors). Trying to use captions in my HTML and CSS for organization and understanding. Making copies of all my CSS, JS, and HTML. Set my areas (divs) up as 'section,aside,article,and footer'?--Tried adding metatag info (I think I missed 1 part of the metatag (they wanted a value?). Not sure if my metatagging is correct? Let me know of any advice what I'm doing right/wrong so far.
I taught myself to design using divs like tables somehwat. With the correct way of design (not using alot of divs)..how would I handle this?...
My old page (method), I had several,divs: 3- (content75%) and 3- (image25%) all housed within a div (approx 900px). Content was left, and images right. Total DIV that housed them was 75% of 1232px page? (I think)..The div that housed them was approx 900px (.75x1232). Content approx 675px and image approx 225px wide.
I inseted 480px wide images in that 25% image div and it showed it nicely as approx 225px wide on desktop, and when responsive on mobile, nice full size at 480px. (I think I am/was avoiding having to use alternative images--for each platform-- this way?)
With the correct way of designing (less divs), how would I handle this scenario above? IF I inserted a 480px image into a approx 900px div with no other divs, it would fill the div with a 480px image. IT would then throw my wole design off. I think I'm just missing some HTML/CSS knowledge. Hope this question makes some kind of sense? -
I have seen this link:
http://dougmccune.com/blog/2007/01/25/vertical-menubar-component/
To allow for vertical menus, but how can we get a menu to align on the right side? My menu always fills the entire space, so calling right="10" does nothing, because the Menu fills the space anyway. I want the menu to be right aligned and fill the length of the menu. Does that make sense? Should I add onto what Doug has to build a menu that is horizontal and right?
TIATodd,
If I am understanding your dilema here, you want the menu to align right while the SWFLoader is left??
Or perhaps the everything in your Application Control Bar to align right.
I usually don't recommend using "right=10" or such.
Try wrapping your menu in a HBox this gives you the ability to use the horizontalAlign property to manipulate your menu's layout location.
<mx:ApplicationControlBar id="toolbar" width="100%">
<mx:SWFLoader source="@Embed(skinClass='garmin_logo')" width="148" height="41"/>
<mx:HBox width="100%" horizontalAlign="right">
<menu:MainMenu id="mainMenu"/>
<mx:HBox/>
</mx:ApplicationControlBar>
HTH,
Kenny Yates -
Help Needed in creating dropdown menu in excel using JXL
Hi,
I am trying to create dropdown menu in using JXL.
The Code:
private void createRequiredRows(WritableSheet writableSheet, List unallowCodeList,int rowCount
, int startRowNo,int colCount) throws WriteException {
Label unallowCode = null;
WritableFont noBoldFont = new WritableFont(WritableFont.ARIAL, 8,WritableFont.NO_BOLD);
WritableCellFormat dropDownCellFormat = new WritableCellFormat(noBoldFont,new NumberFormat("000"));
dropDownCellFormat.setAlignment(Alignment.RIGHT);
WritableCellFeatures writableCellFeature = new WritableCellFeatures();
writableCellFeature.setDataValidationList(unallowCodeList);
for (int rowNo = startRowNo; rowNo < startRowNo + rowCount; rowNo++) {
unallowCode = new Label(colCount, rowNo, "Select",dropDownCellFormat);
unallowCode.setCellFeatures(writableCellFeature);
writableSheet.addCell(unallowCode);
it creates a drop down in the Excel.
But writableCellFeature.setDataValidationList(unallowCodeList); has a limitation of characters .So the dropdown menu gets truncated when it exceeds the limitation.
Can anyone help me in creating dropdown menu in excel without any limitation using JXL..
Thanks,
BisinHi,
I dont know the solution for this, but heres a work arround
//create new label some where else in the excel sheet as shown below
Label lblcmbdata;
for(int i=0; i<1000; i++)
lblcmbdata = new Label(75, i, (i+1)+" satish", format);
sheet1.addCell(lblcmbdata);
}//set the validation range as shown below
writableCellFeature.setDataValidationRange(75,0,75,1000);
Label cmb = null;
cmb = new Label(0, 1, "Select",format);
cmb.setCellFeatures(writableCellFeature);
sheet.addCell(cmb);this will create a combo list with 1000 values
also you can keep the data to be populated in the different sheet in same workbook by creating a named range as below
workbook.addNameArea("cmbdata", sheet1, 0, 0, 0, 1000);
// then fill the data in sheet1
Label lblcmbdata;
for(int i=0; i<1000; i++)
lblcmbdata = new Label(0, i, (i+1)+" satish", format);
sheet1.addCell(lblcmbdata);
//set the validation named range as below
writableCellFeature.setDataValidationRange("cmbdata");
Label cmb = null;
cmb = new Label(0, 1, "Select",format);
cmb.setCellFeatures(writableCellFeature);
sheet.addCell(cmb);Thanks and Regards
Satish -
Hi!
I am trying to create a dropdown menu in Dreamweaver. I have watched several tutorials and read many how-to guides and my html looks fine, but editing the style is really throwing me off. I am a beginner to Dreamweaver, so I am unsure of the properties I need to make this right. The code below, when I hover over the first button the dropdown menu goes behind the other two buttons. I need the dropmenu to go off to the side of the buttons and down. If not that, I can align the buttons to go horizontal, so they aren't being covered. I hope that makes sense.
Thank you in advance!!
-M
HTML
<div class="dropdown" id="dropdown" style="text-align: left;">
<ul>
<li><a href="#">Americas</a>
<ul>
<li><a href="#">Connecticut</a></li>
<li><a href="#">Ohio</a></li>
<li><a href="#">Vermont</a></li>
<li><a href="#">California</a></li>
<li><a href="#">Canada</a></li>
<li><a href="#">Brazil</a></li>
</ul>
</li>
</ul>
<ul>
<li><a href="#">China</a>
<ul>
<li><a href="#">China</a></li>
</ul>
</li>
</ul>
<ul>
<li><a href="#">Europe</a>
<ul>
<li><a href="#">France</a></li>
<li><a href="#">UK</a></li>
</ul>
</li>
</ul>
</div>
STYLE
#dropdown {
margin: 0;
width: 150px;
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
#dropdown ul {
margin: 0;
padding: 0;
line-height: 30px;
#dropdown li {
margin:0;
padding:0;
list-style:none;
float:left;
position:relative;
#dropdown ul li a {
text-align: center;
height: 30px;
width: 150px;
display: block;
color: #000;
text-decoration: none;
border: 1px solid #000;
text-shadow: 1px 1px 1px #000;
background: #CCC;
#dropdown ul ul {
position:absolute;
visibility:hidden;
top:32px;
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
#dropdown ul li:hover ul {
visibility:visible;
position:absolute;
#dropdown li:hover {
background: #7D92C6;
float: left;
#dropdown ul li:hover ul li a:hover {
color:#000;
background:#7D92C6;
#dropdown a:hover {
color:#000;
background: #7D92C6;
.clearFloat {
clear:both;
margin:0;
padding:0;Are you doing this as an execise in learning or is it for a real website. I ask because if the latter why not just use a tested and proven commercial product and be done with it? I have used the PVII (http://www.projectseven.com) products for years and can't recommend them highly enough.
-
Why won't cells autopopulate when using numbers on the ipad as they will in excel? Anyone have a fix? I have also created a dropdown menu in excel, but that does not translate from excel to numbers either.
Glad you got it sorted out.
Diane123456 wrote:
> Thanks Vix, Joe, and Mad Dog for responding, the site is
in
> development so it's behind a password, which I probably
could share
> but MD is right, it was a margin issue. I didn't think I
needed to
> set a margin but I had to put a left margin of 2em on it
for the
> numbers to display on IE7 or IE6
>
> This is actually a rather common issue with CSS layouts
(it is not an
> issue with designs using tables) - there are several
posts for ULs
> which you may be interested in - see
>
>
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=
> 1981&productId=1&loc=en_US
>
> -- and once I got the numbers to show I ran into the
same problem as
> the commenters on the above thread, which noticed that
the vertical
> alignment doesn't work well with IE, and which noted
that apparently
> IE has a stutter because it just kept repeating "1" "1"
"1" -- so I
> finally went with a hanging indent and just put the
numbers in there
> manually - fortunately it's not a long list.... if you
have a fix
> for the stutter, or know of another place to get help
with CSS layout
> browser quirks please share -- if I find another one
I'll share also
>
> thanks again, Diane -
Recordset order by dropdown menu
Hi all....
I have a results page displaying products based on three different redordsets depending on how the user searches. manufacturer, category or keyword search.
On the results page i also want a dropdown menu with options for displaying the results by price lowest, price highest, manufacturer.
has anyone done this? and how?
Thanks
Andy
PS I'm using Dreamweaver 8.2 and classic aspThanks so much for your time and help guys
Here is a live page with a typical search from the category navigation menu
http://www.test4less.co.uk/results3.asp?menuselect=e&CategoryID=28
Here is the page code
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="inc/logout_inc.asp" -->
<!--#include file="classes/Cart.asp" -->
<%
Set objCart=new Cart
%>
<!--#include file="inc/marquee.asp" -->
<% Session("sortby")= Request("sortedby")%>
<%
Dim orderby
If Session("sortby") = "pricelow" Then
orderby = "products.price ASC"
ElseIf Session("sortby") = "pricehigh" Then
orderby = "products.price DESC"
ElseIf Session("sortby") = "manuaz" Then
orderby = "products.manufacturerID ASC"
Elseif sortby="" Then
orderby = "Products.Product, Products.Price DESC"
End If
%>
<%
Dim RSResults__MMColParam
RSResults__MMColParam = "0"
Dim selectstat_MMColParam
If (Request.QueryString("CategoryID") <> "") Then
RSResults__MMColParam = Request.QueryString("CategoryID")
selectstat="SELECT Products.*, Categories.Category FROM Categories INNER JOIN Products ON Categories.CategoryID = Products.CategoryID WHERE Categories.CategoryID = " + Replace(RSResults__MMColParam, "'", "''") + " ORDER BY "
Elseif (Request("ManufacturerID") <> "") Then
RSResults__MMColParam = Request("ManufacturerID")
selectstat="SELECT Products.*, Categories.Category, Manufacturers.Manufacturer FROM (Products INNER JOIN Categories ON Products.CategoryID = Categories.CategoryID) INNER JOIN Manufacturers ON Products.ManufacturerID = Manufacturers.ManufacturerID WHERE Manufacturers.ManufacturerID = " + Replace(RSResults__MMColParam, "'", "''") + " ORDER BY "
Elseif (Request("searchme") <> "") Then
RSResults__MMColParam = Request("searchme")
selectstat="SELECT Products.*, Categories.Category FROM Categories INNER JOIN Products ON Categories.CategoryID = Products.CategoryID WHERE Product LIKE '%" + Replace(RSResults__MMColParam, "'", "''") + "%' ORDER BY "
End If
%>
<%
Dim RSResults
Dim RSResults_numRows
Set RSResults = Server.CreateObject("ADODB.Recordset")
RSResults.ActiveConnection = MM_myconnection
RSResults.Source = selectstat & orderby
RSResults.CursorType = 0
RSResults.CursorLocation = 2
RSResults.LockType = 1
RSResults.Open()
RSResults_numRows = 0
%>
<%
Dim MM_paramName
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth
Dim MM_removeList
Dim MM_item
Dim MM_nextItem
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then
MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If
MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""
' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
End If
Next
' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
End If
Next
' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> "") Then
MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> "") Then
MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If
' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
If (firstItem <> "") Then
MM_joinChar = "&"
Else
MM_joinChar = ""
End If
End Function
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file="inc/dodatetime.asp" -->
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/brochure.dwt.asp" codeOutsideHTMLIsLocked="false" -->
<!--#include file="inc/dodatetime.asp" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Test4less Electrical & Gas Test Equipment Distributor - Results</title>
<meta name="Description" content="Test4Less - Electrical and Gas testing, calibration, repair and retailer of Fluke, Megger, Kane, Seaward and Socket & See testing equipment. Competitive pricing and customer focussed service. All Products Only £4.95 Delivery" />
<meta name="Keywords" content="Fluke, Megger, Kane, Socket & See, Seaward, Alphatech, Anton, New Technik, Kewtech, Silvertronic, Testmate, TPI, WIS, MFT1552, Fluke 1652, Primetest 100, Fluke 114, PDL 234, VDD12, testing equipment, calibration service, servicing, cleaning, cal lab, Fluke, kane, Megger, calibration days, 16th edition testers, PAT testers, Multimeters, Clampmeters, Test Leads, Environment Testers, Combustion Analysers, Leakage Detectors, Carbon Monoxide Monitors, Differential manometers, Thermometers" />
<meta name="language" content="English" />
<meta name="copyright" content="Acute Sales Ltd" />
<meta name="revisit-after" content="7 days" />
<meta name="Category" content="Testing Equipment" />
<meta name="document-classification" content="Electrical and Gas Tesing Equipment" />
<meta name="document-distribution" content="Global" />
<meta name="document-state" content="Dynamic" />
<meta name="cache-control" content="Public" />
<link href="css/layout/layout.css" rel="stylesheet" type="text/css"/>
<link href="css/menu/menu.css" rel="stylesheet" type="text/css" />
<link href="css/slider/slider.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="scripts/jquery.js"></script>
<script type="text/javascript" src="scripts/menu.js"></script>
<script type="text/javascript" src="scripts/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="scripts/jquery.anythingslider.js" charset="utf-8"></script>
<script type="text/javascript" src="scripts/slider.js"></script>
<script type="text/javascript" src="scripts/rollover.js"></script>
<!-- InstanceEndEditable -->
<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-458267-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>
<body>
<!-- Begin Wrapper -->
<div id="wrapper">
<!-- Begin Header -->
<div id="header">
<div id="topnavigation"><p><!--#include file="inc/topnavigation.asp" --></p>
</div>
<div id="socialnet"><a href="http://www.twitter.com/test4less" target="_blank"><img src="assets/img/twitter.gif" alt="follow us on twitter" width="81" height="16" border="0"></a></div>
<div id="rss"><a href="http://www.test4less.co.uk/xml/test4less.xml" target="_blank"><img src="assets/img/rss_small.gif" alt="rrs feed" width="18" height="18" border="0" /></a></div>
<br style="clear:both"/>
<div id="tagline"><p>
The UK's Premier Online Test Equipment Specialists <span class="h1">0800 040 7477</span></p>
</div>
<div id="search">
<div id="searchbox">
<form id="searchforum" name="searchforum" method="post" action="results.asp">
<input name="searchme" type="text" class="txtbox" id="searchme" />
<input name="Submit" type="submit" class="txtbox_button" value="search" />
</form>
</div>
</div>
<br style="clear:both"/>
<div id="logo"><img src="assets/img/logo.gif" alt="Test4Less" width="243" height="76"></div>
<div id="account">
<div id="guest">
<p>
<!--#include file="inc/identity_inc.asp" -->
</p>
</div>
<div id="account_dets">
<p> <!--#include file="inc/login_inc.asp" --> </p>
</div>
</div>
<br style="clear:both"/>
</div>
<!--End of header content -->
<div id="menu"><!--#include file="inc/menu.asp" -->
<div id="manufacturerDD">
<!--#include file="inc/manudrop.asp" -->
</div>
</div>
<!-- End Header -->
<!--Start of Left Main Content -->
<!-- InstanceBeginEditable name="brochure_main" -->
<div id="leftmain">
<div id="searchvar"> You searched for:
<% If Request("ManufacturerID")<>"" Then %>
<%=(RSResults.Fields.Item("Manufacturer").Value)%>
<% Else If Request("CategoryID")<>"" Then %>
<%=(RSResults.Fields.Item("Category").Value)%>
<% Else If Request("searchme")<>"" Then %>
<% Response.Write Request("searchme") %>
<% End If %>
<% End If %>
<% End If %>
<% Dim SortFormAction
SortFormAction= MM_keepURL
%>
<div id="sortby">
<form action="results3.asp" method="get" name="formsort" id="formsort">
<h5>
<label>
<select name="sortedby" class="sortbydrop" id="sortedby" value="sortby" onchange='this.form.submit()'>
<option>sort by ::</option>
<option value="pricelow">Price: Lowest First</option>
<option value="pricehigh">Price: Highest First</option>
<option value="manuaz">Manufacturer: A-Z</option>
<option value="http://www.google.com">goto</option>
</select>
</label>
</h5>
</form>
</div>
</div>
<div class="prod_dk">
<%
startrw = 0
endrw = HLooper1__index
numberColumns = 4
numrows = -1
while((numrows <> 0) AND (Not RSResults.EOF))
startrw = endrw + 1
endrw = endrw + numberColumns
%>
<%
While ((startrw <= endrw) AND (Not RSResults.EOF))
%>
<div class="prod_dk_block">
<div class="prod_dk_photo"><a href="details.asp?<%= Server.HTMLEncode(MM_keepURL) & MM_joinChar(MM_keepURL) & "ProductID=" & RSResults.Fields.Item("ProductID").Value %>"><img src="products/<%=(RSResults.Fields.Item("Image").Value)%>" width="142" height="142" border="0" /></a></div>
<div class="prod_dk_title"><%=(RSResults.Fields.Item("Product").Value)%></div>
<div class="prod_dk_button"><a href="details.asp?<%= Server.HTMLEncode(MM_keepURL) & MM_joinChar(MM_keepURL) & "ProductID=" & RSResults.Fields.Item("ProductID").Value %>" class="prod_dk_buttontxt"><%= FormatCurrency((RSResults.Fields.Item("Price").Value), 2, -2, -2, -2) %></a></div>
</div>
<%
startrw = startrw + 1
RSResults.MoveNext()
Wend
%>
<%
numrows=numrows-1
Wend
%>
<% If RSResults.EOF And RSResults.BOF Then %>
<div id="noresults"> Sorry, nothing was found. Please try again</div>
<% End If ' end RSResults.EOF And RSResults.BOF %>
</div>
<p><!--End of Left main Content -->
<%'Response.Write(Session("sortby"))%>
</p>
<p>
<%'Response.Write "results.asp?"& "&" & (Session("searchtype")) %>
</p>
<p>
<%'Response.Write(Session("searchtype"))%>
<p>
<p>
<p>
Keep Both:
<%Response.Write "results.asp?"& MM_keepBoth %>
<p>Keep URL:
<%Response.Write MM_keepURL %>
<p>Keep FORM:
<%Response.Write MM_keepFORM & Request("sortedby") %>
</div>
<!-- InstanceEndEditable -->
<!-- Begin Right Column -->
<div id="rightmain">
<div id="basket">
<div id="baskettop">
<p><a href="shoppingcart.asp">shopping basket</a>
</div>
<div id="basketmid"><p>
<%if IsObject(objCart) then%>
<%=objCart.TotalNumberItems%> Item(s)<br>
£<%= FormatNumber(objCart.SubTotal, 2, -2, -2, -2) %> total<%end if%> <br /><br />
<a href="login.asp">checkout</a></div>
<div id="basketbot"></div>
</div>
<div id="marquee_panel">
<div id="marqueetop">
<p>test4less | <a href="news_full.asp">NEWS</a>
</div>
<div id="marquee">
<%=sMarquee%>
</div>
<div id="marquee_bottom"></div>
</div>
<div id="prod_focus_panel">
<a href="details.asp?ProductID=1386"><img src="assets/img/focus.jpg" alt="Test4Less Weekly Promotions" width="230" height="228" border="0" /></a> </div>
<div id="promotions"><a href="promotions.asp"><img src="assets/img/promotions.jpg" alt="Test4Less Weekly Promotions" width="230" height="228" border="0" ></a></div>
<div id="training"><a href="http://www.severncollege.co.uk/test4less" target="_blank"><img src="assets/img/training.jpg" alt="Test4Less Training Corses" width="230" height="228" border="0" ></a></div>
</div>
<!-- End Right Column -->
<!-- Begin Footer -->
<div id="footer">
<div id="footer1"><!--#include file="inc/footer_.asp" --></div>
<div id="subscription">
<form action="http://www.eshotuk.co.uk/eshot/form.php?form=86" method="post" name="frmSS86" id="frmSS86">
<div>
<label>
<input name="email" type="text" class="subscription_txtbox" id="email" maxlength="50" />
</label>
<label>
<input name="Submit2" type="submit" class="subscription_button" value="Submit" />
</label>
</div>
</form>
Why not subscribe to our mailing list and receive money saving promotions?
<div id="pricematch_box">
<div id="pricematch_icon"><a href="pricematch.asp"><img src="assets/img/price_match.gif" alt="Price Match" width="93" height="63" border="0" ></a></div>
<div id="pricematch_txt">Test4Less offers a 100% Price Match Guarantee on selected products. </div>
</div>
</div>
</div>
<div id="companyreg">
<p>Registered office: Acute sales Ltd, 4 Century Road, High Carr Business Park, Newcastle-under-Lyme, Staffordshire, ST5 7UG </p>
Test4Less is a Trading Division of Acute Sales Ltd,
Tel: 0800 0407477,
Fax: 01782 567095,
E-mail: [email protected] <br />
Registered in England and Wales Number 2529960<br />
VAT Number GB536921139 <br />
© 2011 Acute Sales Ltd</div>
<div id="footer_cc">
<p><img src="assets/img/credit_cards.gif" alt="We accept" width="411" height="31" /></p>
<p> </p>
<p align="right"><a href="http://www.paypoint.net/assets/downloads/techFAQS/customermessage/cust_message.pdf" target="_blank"><img src="assets/img/secpay_logo2.gif" alt="Secured By payPoint" width="188" height="21" border="0" /></a></p>
</div>
<br style="clear:both"/>
<!-- End Footer -->
</div>
<!-- End Wrapper -->
</body>
<!-- InstanceEnd --></html>
<%
Set objCart=Nothing
%>
<%
RSResults.Close()
Set RSResults = Nothing
%> -
Does anyone know how to enable/disable a dropdown menu in Forms at runtime?
Is there a way how to disable/enable dropdown menu for menus that have multiple sub levels in Oracle Forms? I am trying to use the set_menu_item_property function but this takes 'menu.item' format for the first argument. I am trying to enable/disable a menu item in the form of 'menu.item.subitem' and was not able to do it using this function. If anyone knows a different function or method, please reply. I have shown an example below.
Setup -> Software -> Front Page
From the above example, I can enable/disable Software using set_menu_item_property function. But, how do I enable/disable the Front Page menu in Oracle forms at runtime?
Thanks
Edited by: user480347 on Aug 24, 2010 3:37 PMYes you are on the right track. You need to pass then complete menu name to set_menu_item_property
Immediate_parent menu.item_name e.g
For example you have menu like this
Id like
A1 A10 > A1010
Home > Input > Form 1
A1 A10 > A1020
Home > Input > Form 2 To disable Form 2 you must pass menu name as
A10.A1020Hope it helps -
Dropdown menu in APEX 4.0
Hi,
I am wondering how to create the Dropdown menu in APEX 4.0. Similar to the Oracle Application Express Homepage or the one gets created in any Websheet Application. I have tried to use the List but unable to place into the right position (Display Point) to get similar look and feel in Theme 2. Builder Blue.
Please let me know if there is a easy way along with the steps.
Thanks,
ASThe steps can be detailed as follows (I will make it specific to my theme -Application Builder- and you can replace what you want)
0) a) My Page template name is WithNicolettePlugin.
b) Put the Nicolette (Thanks alot for him) plugin on #REGION_POSITION_08# in Page Zero (Global page)
c) the settings of the plugin as follows:
- Template : WithNicolettePlugin
- Before HTML : <ul class="dhtmlMenuLG2"> - After HTML : </ul> - jQuery selector submenu : .dhtmlSubMenu2
- Tab set : main
- Include single subtab : yes
- Class first parent : ui-corner-left
- Class last parent : ui-corner-right
- File Prefix : #IMAGE_PREFIX#
the others are empty
1) link the following CSS's into the Header section of the Page Template of (Bluejay-22)
<link rel="stylesheet" href="/i/css/apex_builder.min.css?v=4.2.0.00.27" type="text/css" />
<link rel="stylesheet" href="/i/css/apex_ui.min.css?v=4.2.0.00.27" type="text/css" />
<link rel="stylesheet" href="/i/css/apex_ui_builder_home.css" type="text/css" />2) link the following Scripts into the Header section of the Page Template
<script type="text/javascript">
var apex_img_dir = "/i/", htmldb_Img_Dir = apex_img_dir;
</script>
<script src="/i/libraries/apex/minified/desktop_all.min.js?v=4.2.0.00.27" type="text/javascript"></script>
<script src="/i/libraries/apex/minified/legacy.min.js?v=4.2.0.00.27" type="text/javascript"></script>
<style> html {visibility:hidden;} </style>
<script type="text/javascript">
apex.security.framebreaker("D");
</script>
<script src="/i/libraries/apex/minified/widget.textarea.min.js?v=4.2.0.00.27" type="text/javascript"></script>
<script src="/i/libraries/apex/minified/builder.min.js?v=4.2.0.00.27" type="text/javascript"></script>3) Re-write the Body section to be as the following
<div id="page-header">
.... LOGO AND WELCOME HERE ......
<div class="apex-top-bar-end">
<div class="apex-top-bar">
<div id="tabs" class="dhtmlMenuLG">
#REGION_POSITION_08# <!-- Put the plugin at your page zero in REGION 8 -->
</div>
</div>
</div>
</div>
<div id="topbar">#REGION_POSITION_01##REGION_POSITION_04#</div>
<div id="messages">#SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#</div>
<div id="body">
<table class="tbl-body" cellspacing="0" cellpadding="0" border="0" summary="">
<tbody>
<tr>
<td class="tbl-main" width="100%">#REGION_POSITION_02##BOX_BODY#</td>
<td class="tbl-sidebar">#REGION_POSITION_03#</td>
</tr>
</tbody>
</table>
</div>4- Update the section of Standard Tab Attributes to have Current Tab as the following *(PLEASE, REMOVE THE MINUS BEFORE onmouseover)*
<li class="dhtmlSubMenuN" -onmouseover = "dhtml_CloseAllSubMenusL(this)" >
<a href="#TAB_LINK#" class="dhtmlSubMenuN"
title="#TAB_LABEL#">
"#TAB_LABEL#
</a>
</li>
{code}
and Non Current Standard Tab as the following
{code}
<li class="dhtmlSubMenuN" -onmouseover = "dhtml_CloseAllSubMenusL(this)" >
<a href="#TAB_LINK#" class="dhtmlSubMenuN"
title="#TAB_LABEL#">
"#TAB_LABEL#
</a>
</li>5- Update the section of Parent Tab Attributes to have Current Parent Tab as the following
<div id="#TAB_ID#" class="current">
<a href="#TAB_LINK#" title="#TAB_LABEL#" class="link_text">#TAB_LABEL#</a>
<a href="#" class="link_icon">
<img src="/i/apex/builder/down_dark_12x12.gif" width="12" height="12"
class="dhtmlMenu" alt="#TAB_LABEL# Drill Down"/>
</a>
<ul id="#TAB_NAME#" htmldb:listlevel="1" class="aTabs dhtmlSubMenu pulldown-tabs" style="display:none;">
#TABS#
<li class="last" dir="RTL"><span></span></li>
</ul>
</div>and Non Current Parent Tab as the following
<div id="#TAB_ID#" class="non-current">
<a href="#TAB_LINK#" title="#TAB_LABEL#" class="link_text">#TAB_LABEL#</a>
<a href="#" class="link_icon">
<img src="/i/apex/builder/down_dark_12x12.gif" width="12" height="12"
class="dhtmlMenu" alt="#TAB_LABEL# Drill Down"/>
</a>
<ul id="#TAB_NAME#" htmldb:listlevel="1" class="aTabs dhtmlSubMenu pulldown-tabs" style="display:none;">
#TABS#
<li class="last" dir="RTL"><span></span></li>
</ul>
</div>6- You will find a sample here in
Workspace : ralab
User : nicolette
Password : abc123
Application 33791 - TestDropDownAppBuilderTabs
If the post completes your solution mark it as correct and the question as answered, otherwise, mark it as helpful.
Best Regards
Mahmoud -
The dropdown menu from the Creative Cloud icon on the menu bar keeps giving me the following message: "Download Error" I quit and restarted the creative cloud app to no avail. Running Mavericks on a mid 2011 iMac.
Try below steps once
click Gear icon on the top Right corner and Quit Creative Cloud App
Click on Finder and then hold Command + Shift + G keys on your keypad
It will open Go to folder window, type exactly ~/Library and click on Go
Make sure to open ~/Library not /Library ( there will be two Library folders )
Then open Application Support > Adobe folders
Trash AAMUpdater and OOBE folders.
Then launch Creative Could and check. -
Creating a dropdown menu from an image hotspot
How do you create a dropdown menu from an image hotspot? For
example, this website is a single jpg image with links generated
from hotspot coordinates on the image. Can I have someone click on
a hotspot and a dropdown menu appears?
Thanks in advance for the help!Unfortunately, everyone knows, but nobody wanted to tell you.
Given this fact -
> this website is a single jpg image with links generated
from hotspot
> coordinates on the image.
one can assume that you are not very experienced with DW or
even with HTML.
In that case, the practical answer to your question would be
"no".
To create a 'drop-down' menu, you need to have a full web
page (not just an
image with image maps), containing a menu HTML structural
element. While
you *could* just place hidden elements on the page that would
only be
revealed (i.e., drop-down) when your image maps are rolled
over, the
practical reality is that this would be an extremely awkward
construct, and
not only most likely beyond the ken of someone who is
inexperienced, but
also just plain 'not right'.
Sorry to give you the bad news.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"dimplechin" <[email protected]> wrote in
message
news:g0kdnk$cn1$[email protected]..
> No one knows? -
In Firefox 3, the user could access a dropdown menu by hovering over a small black arrow next to the forward arrow in the Navigation Toolbar. This allowed the user to go to earlier pages in the browser history, rather than using the back button to go to the immediate previous page.
After updating to Firefox 4, this menu disappeared. Was it moved? Was it removed?
I found this feature to be very useful. Why was it changed?
NickThere are two ways to get this: (1) Hold the back button until the menu appears (2) Right click the back button. See the screenshot below for reference.
-
I'm importing an XML file, using the Import XML menu item, using InDesign CS4.
In the document I've got a table, with an XML structure in the structure tree, matching in the incoming file. Everything works fine, except that after the 4 "template rows" that I've set up Indesign adds new rows automatically, and for all InDesign auto added rows, InDesign is not using the right alignment that I've set up in the paragraph style applied to the first rows... The style is kept, but overridden by a flush left. (Why?)
How do I deal with this? I need the right column to go on right aligning
Best regards, AndreasMap tags to styles took care of the problem.
-
Dropdown Menu same raw value changes back to top list item
Ok guys. I have such a weird issue. I have some code as follows from a dropdown menu:
<items>
<text>Zeutering</text>
<text>Rabies 1 Year (Dog or Cat)</text>
<text>Puppy Pack (DAPPv and Dewormer)</text>
<text>Kitten Pack (HCP+FeLV and Dewormer)</text>
<text>Adult Dog Pack 1 (Rabies, DAPPvL2+CV and Dewormer)</text>
<text>Adult Cat Pack 1 (Rabies, HCP+FeLV, and Dewormer)</text>
<text>Deluxe Adult Dog Pack (Rabies, DAPPvL2+CV, Bordatella, and Dewormer)</text>
<text>Heartworm Pack (Heartworm test + six months of prevention)</text>
<text>Microchip (Home Again Chip)</text>
<text>Flea and Tick Medications</text>
</items>
<items save="1" presence="hidden">
<text>65.00</text>
<text>10.00</text>
<text>20.00</text>
<text>25.00</text>
<text>35.00</text>
<text>35.00</text>
<text>50.00</text>
<text>95.00</text>
<text>30.00</text>
<text>10</text>
</items>
The problem I am having is this. When I select <text>Adult Cat Pack 1 (Rabies, HCP+FeLV, and Dewormer)</text> from the dropdown menu the option goes to <text>Adult Dog Pack 1 (Rabies, DAPPvL2+CV and Dewormer)</text> which is the option above the option I selected as noted above. The only thing I can think of is that because they have the same value it is causing this to happen. I've never had an issue like this before with dropdown menus so I'm not sure how to fix it.
Any help is much appreciated.
JustinHi Justin,
You are right, the dropdown only works if the values are unique. So one fix would be to add something to the value making it unique and then striping it off when selected. So if your values were;
<items save="1" presence="hidden">
<text>65.00:1</text>
<text>10.00:2</text>
<text>20.00:3</text>
<text>25.00:4</text>
<text>35.00:5</text>
<text>35.00:6</text>
<text>50.00:7</text>
<text>95.00:8</text>
<text>30.00:9</text>
<text>10:10</text>
</items>
In the change event you could have some JavaScript code something like;
var valueId = this.boundItem(xfa.event.newText);
app.alert(parseFloat(valueId));
The parseFloat function will stop parsing when it hits an invalid character like the colon.
It is tempting to use a natural key (as you have) but I would probably have used a surrogate key (that is something only the form knows about, like 1,2,3, etc) and then look it up in some structure maybe as simple as a JavaScript array, depends on the complexity of your form.
Hope this helps,
Bruce
Maybe you are looking for
-
Is there an apple approved agreggator that allows me to publish to the iBookstore ibooks created using iBooks author? I would like to use the interactivity that iBooks Author allows but need an aggregator that supports it. Thank you.
-
Does anyone have an answer? I can't get apple support. I have files that I need that I can't open because I get an error that there is a new version of numbers, but I have already downloaded it.
-
My iMac G5 (iSight) doesnt startup correctly!
I have problems with my iMac G5 20'! I'm trying to start up but after the apple logo in the middle, there come's only a bluescreen. I couldn't do anything, only after a few minutes there appears a mouse corsor and i can move itz but there is no login
-
BOLD style font sudden appearance in Gmail headings
Headings in certain sites including Gmail suddenly started appearing in BOLD style. I have reinstalled all fonts in the library and system using Pacifist and reinstalled Safari to no avail. Changing fonts in preferences for Gmail has made no differen
-
Criticize my first ever PKGBUILD (fluxbb)
So I went to put a forum on a website I was working on and what better forum engine to use than the very same one bbs uses... and then I realize there's no PKGBUILD in ABS or AUR for fluxbb, so I decided to make a simple one. Please keep in mind th