Group: http://groups.google.com/group/sitedesign/topics
- Help with bulleted lists and CSS [3 Updates]
- one form serving two databases at one click on submit [4 Updates]
- Matthew Richardson <mrrichardson85@gmail.com> Oct 13 09:36PM -0400 ^
Actually you already have a css item for "sub-menu". Add the following to line 1177 in your style.css file. It should work and it should be easier.
list-style-type: none;
Hope this helps!
Thank you
Matt Richardson
www.mydynamicmedia.com
On Oct 13, 2011, at 9:26 PM, Joni Mueller wrote:
- Matthew Richardson <mrrichardson85@gmail.com> Oct 13 09:32PM -0400 ^
Joni,
Try adding the following. I think it should work...
.sub-menu {
list-style-type: none;
}
Thank you
Matt Richardson
www.mydynamicmedia.com
On Oct 13, 2011, at 9:26 PM, Joni Mueller wrote:
- Joni Mueller <joni@jonimueller.com> Oct 14 10:56PM -0500 ^
I tried that and it didn't work. Paudie's li li selector worked a treat. Thanks tho. :)
Joni Mueller
Pixelita Designs
http://www.pixelita.com
________________________________________
From: sitedesign@googlegroups.com [sitedesign@googlegroups.com] On Behalf Of Matthew Richardson [mrrichardson85@gmail.com]
Sent: Thursday, October 13, 2011 8:32 PM
To: sitedesign@googlegroups.com
Subject: Re: [WD&D] Help with bulleted lists and CSS
Joni,
Try adding the following. I think it should work...
.sub-menu {
list-style-type: none;
}
Thank you
Matt Richardson
www.mydynamicmedia.com<http://www.mydynamicmedia.com/>
On Oct 13, 2011, at 9:26 PM, Joni Mueller wrote:
I am tearing my hair out over here. I want to suppress the bullets only on the sublevel of list items. What I want is:
* First level List Item
* First level List Item
* First level List Item
Second Level List Item
Second Level List Item
* First level List Item
And so forth. The asterisks will really be a square.
I have a specific class for the list and the sublist, ul.menu-communities and ul.submenu.
Here is the pertinent HTML markup:
<div class="menu-communities-container">
<ul id="menu-communities" class="menu">
<li id="menu-item-103" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-103"><a href="http://jdanielrealty.mytestbed.com/dana-point-real-estate/">Dana Point Real Estate</a>
<ul class="sub-menu">
<li id="menu-item-104" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-104"><a href="http://jdanielrealty.mytestbed.com/dana-point-real-estate/dana-point-points-of-interest/">Dana Point: Points of Interest</a></li>
</ul>
</li>
<li id="menu-item-101" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-101"><a href="http://jdanielrealty.mytestbed.com/irvine-real-estate/">Irvine Real Estate</a>
<ul class="sub-menu">
<li id="menu-item-102" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-102"><a href="http://jdanielrealty.mytestbed.com/irvine-real-estate/irvine-points-of-interest/">Irvine: Points of Interest</a></li>
<li id="menu-item-120" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-120"><a href="http://jdanielrealty.mytestbed.com/irvine-real-estate/irvine-spectrum/">Irvine: Spectrum</a></li>
</ul>
</li>
</ul>
</div>
And here's the stylesheet code.
ul.submenu li {
inherit: none !important;
list-style-type: none !important;
margin-left: 35px !important;
}
I cannot get the darn second level bullets to go away no matter what I do. I've searched the stylesheet to see if there's something else interfering, and even put inherit: none !important in, to no avail.
Here's the site, it's the "Communities" listing on the sidebar. You'll need a login and password to get into the site since it's on my dev server. Those are [userid/password] client/letmein ... all lower case.
http://jdanielrealty.mytestbed.com
If you need the entire stylesheet or anything else, I can upload it to pastebin or something, just let me know.
Thanks!
Joni Mueller
Pixelita Designs
http://www.pixelita.com
--
You received this because you are subscribed to the "Web Design and Development" group at Google Groups. Messages are prefixed with [WD&D] in the subject. No spam is allowed. Be civil, be professional; try to be helpful & mind your netiquette. All posts are Copyright the original author and the Web Design and Development group. No reproduction of this content is allowed in any electronic or printed form outside the group at Google Groups and the http://www.WDaDg.org website. Any unauthorized use of our copy constitutes illegal Copyright infringement and may well be prosecuted to the full extent of the law. Digital Signature: $©"[W|D|&|D]g"|^|!SiteDesign@GG||#%$
To post to this group, email SiteDesign@googlegroups.com
To unsubscribe, email SiteDesign-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/SiteDesign?hl=en
--
You received this because you are subscribed to the "Web Design and Development" group at Google Groups. Messages are prefixed with [WD&D] in the subject. No spam is allowed. Be civil, be professional; try to be helpful & mind your netiquette. All posts are Copyright the original author and the Web Design and Development group. No reproduction of this content is allowed in any electronic or printed form outside the group at Google Groups and the http://www.WDaDg.org website. Any unauthorized use of our copy constitutes illegal Copyright infringement and may well be prosecuted to the full extent of the law. Digital Signature: $©"[W|D|&|D]g"|^|!SiteDesign@GG||#%$
To post to this group, email SiteDesign@googlegroups.com
To unsubscribe, email SiteDesign-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/SiteDesign?hl=en
- ernest okojie <nestkojex@gmail.com> Oct 14 10:09AM +0100 ^
@ Manoj Vivek and UsabilityGuy. the thing is that i have a form that
submits to an external database of a newsletter service provider, but
i also want that form to send the same details to a table in my own
databse. now, you advised that i use the post/get to grab the form
fields. the problem is "how do i grab it?"
please assist me with the code or even write a sample code for me. thanks
- Binaek Sarkar <binaek89@gmail.com> Oct 14 03:33PM +0530 ^
Depending on which technology you are using, the way to get the form data is
different, but follows the same inherent structure.
For PHP:
$variable = $_POST['form_field_name'];
For ASP:
variable = Request.form('form_field_name')
For JSP:
String variable: request.getParameter('form_field_name');
After you have the field values, do the necessary operations on them,
i.e.trimming, length check, expression matching etc.
If you are using an external newsletter database, then in all probable
cases, they will be providing you with an API to access their data. Call
their API from your script. Do this first, since there is no point in
keeping a record with yourself if the API fails.
After that, create your Connection with your database from your code ->
create an insert string or DBRequest object (whichever fits) -> execute the
object/string against your DB.
That should do it...
Regards
Biinaek Sarkar
Foundation
http://www.foundation.net.in/
- ernest okojie <nestkojex@gmail.com> Oct 14 11:26AM +0100 ^
ok i think i get it, i will create a proc.php page that will handle
the form submission and the manipulate it to the newsletter and then
my database? it then means that i will not use the newsletter address
directly in the form action field.
thanks, i will welcome more suggestions in case my understabding of
your explanation is wrong
--
Best Regards
www.kojexconsult.com
- Joe Kelly <jkelly.developer@gmail.com> Oct 14 12:08PM -0700 ^
If you need two actions and are set on avoiding server side development you
can use some jQuery trickery. Something along the lines of the following
(this was thrown together in Notepad++...just a direction not a working
example)
$(function(){
$('#formid').bind('submit', function(){
var formdata = $(this).serialize();
$.post('http://secondposturl/', formdata);
//let form submit normally to the original action
});
})
You received this because you are subscribed to the "Web Design and Development" group at Google Groups. Messages are prefixed with [WD&D] in the subject. No spam is allowed. Be civil, be professional; try to be helpful & mind your netiquette. All posts are Copyright the original author and the Web Design and Development group. No reproduction of this content is allowed in any electronic or printed form outside the group at Google Groups and the http://www.WDaDg.org website. Any unauthorized use of our copy constitutes illegal Copyright infringement and may well be prosecuted to the full extent of the law. Digital Signature: $©"[W|D|&|D]g"|^|!SiteDesign@GG||#%$
To post to this group, email SiteDesign@googlegroups.com
To unsubscribe, email SiteDesign-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/SiteDesign?hl=en
No comments:
Post a Comment