Help with creating a menu in CSS
I'm new to creating CSS, but as I'm a designing a huge
website, I know that the CSS will help me out some.
I'm using a CSS that came with Dreamweaver - a 2 column fixed
with header and footer.
My problem is, I need to insert a section for a menu bar
between the header and the side bar/main content.
If someone could help me out with where and what code to
enter into my css, I would really appreciate it.
Below is my CSS as it stands:
Well they are menus from En not just text in Ae but I see what your saying what I was able to do is put a new background layer onto and use a couple of masks that changed shape with directional blur and added a gradient wipe; it seems to work well enough for me. Thank you for the help.
Similar Messages
-
Help with creating hyperlinks in formatted CSS text
I'm having difficulty adding links using Dreamweaver. I first
format the text with a CSS style, then use the Properties window to
add the hyperlink (or Insert>Hyperlink menu). It creates this,
<p class="linkbodyleftcol"><a href="
http://www.amcc.com">AMCC</a></p>
However, when I place the cursor on AMCC in the design
window, most of the CSS styles I see in the CSS Styles menu are
crossed out with a message "...does not apply to your selection
because it is not inherited. It is applied to a closing tag."
To correct this, I modify the code to:
<a href="
http://www.amcc.com"><p
class="linkbodyleftcol"AMCC</p></a>
And this clears up the error. However, there must be a more
efficient way to add links while retaining CSS formatting. Could
someone point out a better method?
Best regards, -garyBut wouldn't this still entail adding a hyperlink in Design
view then editing this code in Code view?
Doesn't DW allow one to enter a hyperlink in Design view
while maintaining CSS? Seems hard to believe something so simple
would require going into the code, since CSS and hyperlinks are two
key ingredients in web design. -
Help with creating basic menu using AS
i am working on a portfolio site for my friend who is a
photographer and am looking to create a basic menu that when any
menu item is moused over it enlarges and the other menu items move
to make room for this enlarged menu item. i have tried to show this
in the attached image.
it would be much appreciated if someone could offer me some
assistance or tips. thank you.
Link
to preview exampleHello and welcome to the forums,
What I would do there is use something like "Tweener", found
at
http://code.google.com/p/tweener/.
This is built to work with AS 2.0 and 3.0. You could also use Mc
Tween, found at
http://hosted.zeh.com.br/mctween/.
I am most comfortable with Mc Tween, I just haven't had time to
look at Tweener. Basically it would work something like the
following....
What the code does is when you rollover the menu item, it
will scale to 110% of its original size and when you rollout it
scales to 100%...
In order to use mc tween, you have to download and install
the extenstion first.
Once you've done that you will be all set... but if you plan
on eventually using AS 3.0, check out Tweener.
HTH,
Doug -
I need help with Creating Key Pairs
Hello,
I need help with Creating Key Pairs, I generate key pais with aba provider, but the keys generated are not base 64.
the class is :
import java.io.*;
import java.math.BigInteger;
import java.security.*;
import java.security.spec.*;
import java.security.interfaces.*;
import javax.crypto.*;
import javax.crypto.spec.*;
import au.net.aba.crypto.provider.ABAProvider;
class CreateKeyPairs {
private static KeyPair keyPair;
private static KeyPairGenerator pairGenerator;
private static PrivateKey privateKey;
private static PublicKey publicKey;
public static void main(String[] args) throws Exception {
if (args.length != 2) {
System.out.println("Usage: java CreateKeyParis public_key_file_name privete_key_file_name");
return;
createKeys();
saveKey(args[0],publicKey);
saveKey(args[1],privateKey);
private static void createKeys() throws Exception {
Security.addProvider(new ABAProvider());
pairGenerator = KeyPairGenerator.getInstance("RSA","ABA");
pairGenerator.initialize(1024, new SecureRandom());
keyPair = pairGenerator.generateKeyPair();
privateKey = keyPair.getPrivate();
publicKey = keyPair.getPublic();
private synchronized static void saveKey(String filename,PrivateKey key) throws Exception {
ObjectOutputStream out= new ObjectOutputStream(new FileOutputStream(filename));
out.writeObject(key);
out.close();
private synchronized static void saveKey(String filename,PublicKey key) throws Exception {
ObjectOutputStream out= new ObjectOutputStream( new FileOutputStream(filename));
out.writeObject(key);
out.close();
the public key is:
�� sr com.sun.rsajca.JSA_RSAPublicKeyrC��� xr com.sun.rsajca.JS_PublicKey~5< ~��% L thePublicKeyt Lcom/sun/rsasign/p;xpsr com.sun.rsasign.anm����9�[ [ at [B[ bq ~ xr com.sun.rsasign.p��(!g�� L at Ljava/lang/String;[ bt [Ljava/lang/String;xr com.sun.rsasign.c�"dyU�| xpt Javaur [Ljava.lang.String;��V��{G xp q ~ ur [B���T� xp ��ccR}o���[!#I����lo������
����^"`8�|���Z>������&
d ����"B��
^5���a����jw9�����D���D�)�*3/h��7�|��I�d�$�4f�8_�|���yuq ~
How i can generated the key pairs in base 64 or binary????
Thanxs for help me
Luis Navarro Nu�ez
Santiago.
Chile.
South America.I don't use ABA but BouncyCastle
this could help you :
try
java.security.Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
java.security.KeyPairGenerator kg = java.security.KeyPairGenerator.getInstance("RSA","BC");
java.security.KeyPair kp = kg.generateKeyPair();
java.security.Key pub = kp.getPublic();
java.security.Key pri = kp.getPrivate();
System.out.println("pub: " + pub);
System.out.println("pri: " + pri);
byte[] pub_e = pub.getEncoded();
byte[] pri_e = pri.getEncoded();
java.io.PrintWriter o;
java.io.DataInputStream i;
java.io.File f;
o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pub64"));
o.println(new sun.misc.BASE64Encoder().encode(pub_e));
o.close();
o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pri64"));
o.println(new sun.misc.BASE64Encoder().encode(pri_e));
o.close();
java.io.BufferedReader br = new java.io.BufferedReader(new java.io.FileReader("d:/pub64"));
StringBuffer keyBase64 = new StringBuffer();
String line = br.readLine ();
while(line != null)
keyBase64.append (line);
line = br.readLine ();
byte [] pubBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
br = new java.io.BufferedReader(new java.io.FileReader("d:/pri64"));
keyBase64 = new StringBuffer();
line = br.readLine ();
while(line != null)
keyBase64.append (line);
line = br.readLine ();
byte [] priBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
java.security.KeyFactory kf = java.security.KeyFactory.getInstance("RSA","BC");
java.security.Key pubKey = kf.generatePublic(new java.security.spec.X509EncodedKeySpec(pubBytes));
System.out.println("pub: " + pubKey);
java.security.Key priKey = kf.generatePrivate(new java.security.spec.PKCS8EncodedKeySpec(priBytes));
System.out.println("pri: " + priKey);
catch(Exception e)
e.printStackTrace ();
} -
Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again
Look to the right under "More Like This". Your issue has been discussed many many times. The error you are seeing is because you do not have enough free "contiguous" space on your hard drive. Read the other threads that address this issue to find how to solve the issue.
Or, put "The disk cannot be partitioned because some files cannot be moved" into the search box at the upper right of this page. -
Hey i need help with creating a quiz with scoring and all.
I need a helping hand so if you can get me started that
would help a lot.
Use the Question class to define a Quiz class. A
quiz can be composed of up to 25 questions. Define the add method
of the Quiz class to add a question to a quiz. Define the giveQuiz
method of the Quiz class to present each question in turn to the user,
accept an answer for each one, and keep track of the results. Define
a class called QuizTime with a main method that populates a quiz,
presents it, and prints the final results.
// Question.java Author: Lewis/Loftus/Cocking
// Represents a question (and its answer).
public class Question implements Complexity
private String question, answer;
private int complexityLevel;
// Sets up the question with a default complexity.
public Question (String query, String result)
question = query;
answer = result;
complexityLevel = 1;
// Sets the complexity level for this question.
public void setComplexity (int level)
complexityLevel = level;
// Returns the complexity level for this question.
public int getComplexity()
return complexityLevel;
// Returns the question.
public String getQuestion()
return question;
// Returns the answer to this question.
public String getAnswer()
return answer;
// Returns true if the candidate answer matches the answer.
public boolean answerCorrect (String candidateAnswer)
return answer.equals(candidateAnswer);
// Returns this question (and its answer) as a string.
public String toString()
return question + "\n" + answer;
}Do you know why this lazy fart-ass is back? Because when he posted his homework last week, some sorry-assed idiot went and did it for him.
http://forum.java.sun.com/thread.jspa?threadID=5244564&messageID=10008358#10008358
He didn't even thank the poster.
It's the same problem over and over again. You feed the bears and it only teaches them to come back for handouts.
My polite suggestion to the original poster: please do your own fucking homework. -
Need help with creating a brush
Hi guys,
I wanted to ask for help with creating a brush (even a link to a tutorial will be goon enough ).
I got this sample:
I've created a brush from it, and i'm trying to get this kind of result:
but it's only duplicates it and gives me this result:
Can someone help me please understand what i need to define in order to make the brush behave like a continues brush instead of duplicate it?
Thank you very much
shlomitwhat you need to do is make a brush that looks like the tip of a brush. photoshop has several already but you can make your own that will be better.
get a paintbrush and paint a spot kind of like what you did but dont paint a stroke. make it look kindof grungy. then make your brush from that, making sure to desaturate it and everything.
EDIT:
oh, and if you bring the fill down to like 10-20% your stroke will look better -
I need help with creating PDF with Preview...
Hello
I need help with creating PDF documetns with Preview. Just a few days ago, I was able to create PDF files composed of scanned images (notes) and everything worked perfectly fine. However, today I was having trouble with it. I scanned my notebook and saved 8 images/pages in jpeg format. I did the usual routine with Preview (select all files>print>PDF>save as PDF>then save). Well this worked a few days ago, but when I tried it today, I was able to save it, but the after opening the PDF file that I have saved, only the first page was there. The other pages weren't included. I really don't see anything wrong with what I'm doing. I really need help. Any help would be greatly appreciated.I can't find it. I went into advanced and then document processing but no batch sequence is there and everything is grayed out.
EDIT: I realized that you cant do batch sequences in standard. Any other ideas? -
I need help with creating some formulas
I'm not sure if anyone around here can help me, but I'm trying to create a Numbers document and need some help with creating a formula/function.
I have a column of amounts and I would like to create a formula which deducts a percentage (11.9%) and puts the result in another column.
If anyone can help me, it would be greatly appreciated.Here is an example that shows one way to do this:
The original data is in column A. In column B we will store formulas to adjust the amounts:
1) select the cell where you want to formula (in this case cell B2)
2) Type the "=" (equal sign):
3) click cell A2:
4) now type the rest of the formula which is: "*(100-11.9)/100" that is asterisk, then open parenthesis, 100 minus eleven point nine close parenthesis forward slash one hundred
The Asterisk is the multiply operator (times) and the forward slash is the division operator (divide)
now hit return. select cell B2 and hover the cursor over the bottom edge of the cell:
drag the little yellow dot down to "fill" the formula down as needed. -
I'm having trouble with a Spry Menu Bar not displaying
correctly in Internet Explorer, while it displays fine in every
other browser I have available. I've done some searching on these
boards, but the queries I've found with the same type of problem
each has a knowledgeable person editing the code for the
poster...and I can't seem to make heads or tails of it.
So, below is my link. What you'll see if viewed in Explorer
is that the "Clinics" listing and the "Services & Specialties"
listing are each on the same horizontal line, rather than vertical
like the rest of the menu. If anyone can help me in correcting this
problem, I'd be very appreciative.
Thanks in advance.
http://www.chambershospital.com/temp/about.htmlHello,
You might try removing all of the <div> tags you
inserted in the menu.
This can happen if you select text in design view and use the
"align" icons
in the properties window instead of using CSS to align
things.
For example:
<li>
<div align="left"><<****REMOVE THIS
<a href="clinics.html"
class="MenuBarItemSubmenu">Clinics</a>
<ul>
<li><a href="clinic.html">Chambers
Clinic</a></li>
<li><a href="clinic7.html">Scenic 7
Clinic</a></li>
</ul>
</div><<*** REMOVE THIS
</li>
So it looks like this:
<li><a href="clinics.html"
class="MenuBarItemSubmenu">Clinics</a>
<ul>
<li><a href="clinic.html">Chambers
Clinic</a></li>
<li><a href="clinic7.html">Scenic 7
Clinic</a></li>
</ul>
</li>
Repeat for all the other <div align="left"> and
</div> tags in the menu.
Take care,
Tim
"Zim74" <[email protected]> wrote in message
news:fv4vc0$r0t$[email protected]..
> I'm having trouble with a Spry Menu Bar not displaying
correctly in
> Internet
> Explorer, while it displays fine in every other browser
I have available.
> I've
> done some searching on these boards, but the queries
I've found with the
> same
> type of problem each has a knowledgeable person editing
the code for the
> poster...and I can't seem to make heads or tails of it.
>
> So, below is my link. What you'll see if viewed in
Explorer is that the
> "Clinics" listing and the "Services & Specialties"
listing are each on the
> same
> horizontal line, rather than vertical like the rest of
the menu. If
> anyone can
> help me in correcting this problem, I'd be very
appreciative.
>
> Thanks in advance.
>
>
http://www.chambershospital.com/temp/about.html
>
> -
Help with spry tabbed menu bar
Hi.
I need help with the spry tabbed menu panel (horizontal) It
works fine in dreamweaver ( pressing f12 ) but when i goto my
website www.so-nouveau.com it puts it all over and not in boxes
either just the writing.
I ahve double checked all uploading is correct and files are
located but it wont work.
Here is what i did >
new> html> 1 column elastic,centered. i have not
changed any other settings at all. Do i need to change the doc type
or css layout in the drop down menus before starting (doc
type=xhtnl 1.0 transitional and layout css=add to head)
I am still on cs3 , does this matter ? or is 4 easier ?
any help out there guys is much appreciated but please bear
in mind that i am not a web designer or pc expert at all , this is
just me building my own site , until nowit has been an enjoyable
experience but grrrrrr when it dont work
Thanks
Jayso-nouveau wrote:
> Hi.
> I need help with the spry tabbed menu panel (horizontal)
It works fine in
> dreamweaver ( pressing f12 ) but when i goto my website
www.so-nouveau.com it
> puts it all over and not in boxes either just the
writing.
Please post links directly to the page having an issue. I saw
no tabs on the home page, but I noticed that there is a link on the
bottom of the page to this page that has a Spry tab on it:
http://www.so-nouveau.com/test%208.html
> I ahve double checked all uploading is correct and files
are located but it
> wont work.
That page refers to a Spry JavaScript file and a Spry CSS
file, which should be at the following locations but are not
present:
http://www.so-nouveau.com/SpryAssets/SpryTabbedPanels.js
http://www.so-nouveau.com/SpryAssets/SpryTabbedPanels.css
Make sure you upload the SpryAssests folder and see where
you're at after that.
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert -
All I would like to do a simple horizontal menu , like you get in any application
i.e you click or hover on the menu and the dropdowns appear
I have tried using the DHTML Menu with sublist in theme 13
and it gvies me a menu header and a little arrow next to it which you click to activate the drop down
the menu header behaves like a url but doesn't go anywhere , all I want is a simple menu
I have created a menu with a 3rd party menu creator , but i want to use authorization within the apex menu
also i tried adding it to my page 0 so it would be rendered on every page and it didn't work
any help greatly appreciated
Cheers
ChrisTried the code and I think we are nearly there, but there are
two small problems,
1. I need one the first button to be down at the start
2. When I click one of the buttons an error is thrown up as
follows
TypeError: Error #1009: Cannot access a property or method of
a null object reference.
at Test_fla::MainTimeline/onButtonClicked()
The code now looks like this: -
Need help with creating template. Changes are not going through to index.html page
Hi all,
I have an issue with my template that I am creating and also a question about creating template Regions (Repeating and Editable).
Somehow my changes to my index.dwt are not changing my index.html page.
Also my other question is: For my top navigation bar and left navigation bar links, do I need to select and define each individual button or link as Repeating/Editable Region? or can I just select the whole navigation bar (the one on the top) etc...
Below are my steps for creating my template...I am kinda fairly new to using DW and this is my first attempt to making a template following the DW tutorial CD that came with DW CS3.
I appreciate any help with this...regards, Dano
-Open my index.html file
-File/save as template
-Save
-update links - yes
-Select Repeating and Editable Regions (I selected the whole top navigation bar and selected Repeating Region and Editable Region, same with the left side navigation links)
-File close all
-Open the index.dwt
-Save as and selected the index.html and chose to overide it..
When I make changes to my index.dwt it is not changing the index.html
I feel that I am missing some important steps here.....
Website address
www.defenseproshop.comFigured out
-
Help with creating a layout.
I need help creating a layout for my program, but am having tons of problems. I just an't that good at creating this, and it's been driving me insane.
Here's the link to how I want it to look like. http://s94182144.onlinehome.us/randomstuff/layout.JPG
In panel 1... that will be a cartesian plain, so it will pretty much be empty until lines and stuff are drawn in there.
In panel 2, there will be two drop down menus and a couple of buttons
In panel 3, there will be a bunch of things, with two buttons on the bottom.... and this section has to be scrollable.
Any help with the basic layout will be helpful... I can put in the buttons myself. For reference, the whole programs size is 400x800.
Thanks,
sachitRead this section from the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html]How to Use Layout Managers. You can combine multiple Layout Managers to get the effect your want. By default the content pane uses the BorderLayout, so one approach might be:
JPanel center = new JPanel(new BorderLayout());
center.add(panel1, BorderLayout.CENTER);
center.add(panel2, BorderLayout.SOUTH);
getContentPane().add(center, BorderLayout.CENTER);
getContentPane().add(panel3, BorderLayout.EAST);
It turn you would layout panel1, panel2 and panel3 with the appropriate layout manager. Panel2 could be something like:
JPanel panel2 = new JPanel( new BorderLayout() );
panel2.add(comboBox1, BorderLayout.WEST);
panel2.add(comboBox2, BorderLayout.EAST);
JPanel bottom = new JPanel();
bottom.add(button1);
buttom.add(button2);
panel.add(bottom, BorderLayout.SOUTH); -
Help with creating a flash banner
Hi,
I need some help with a creating/replicating a flash banner I
saw online. I cant find it anymore but I will do my best to
describe it.
The banner had multiple images layered on top of each other
horizontally. Each image covered the image to the left of it. When
you moused over an image the image expanded to full size while the
other remained contracted.
How can I create something with the above description? Are
there any good tutorials for something like this or maybe someone
can provide me with a few tips/tricks for doing this?
I am proficient in PShop and a beginner with Flash so the
design portion is not the hard part, just the programming/setup in
flash is what has me stumped.
Thanks in advance for any assitance.
Regards,
Mike
Hookah LifeUpdate:
The banner on this template has an exact example of what I am
shooting for.
http://www.algozone.com/zencart-templates-zc03c00287-p-1191.html
Maybe you are looking for
-
Stream Corrupted Exception using ORACLE LITE 8i
Our application on the client needs to insert word documents in the form of BLOBS in the ORACLE I LITE database. I am using the below JDBC driver to store and retrieve the BLOB from the database and i have the ODBC driver for the Oracle LITE installe
-
I cannot open mail. No response to tapping anything.
?what to do to unfreeze mailbox?
-
As per MSDN, we cannot use AppointmentItem.Delete() inside Close() event handler method of AppointmentItem. I need to find a way to delete this AppointmentItem (or preventing it from getting saved to Outlook calender). Please let me know if you have
-
Time Capsule advice, HELP!!
Folks, I got an iomega 500gb ULTRAMAX external hdd from apple store last week. it is too noisy and has bad reviews now i have checked... 1) should i upgrade to a time capsule 500gb, which costs double the price of the iomega? is it worth it? 2) do i
-
hi all, i have 3 nodes of 9204 RAC under rhel 2.1 SQL> host lsnrctl status LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 19-FEB-2007 10:53:44 Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved. Connecting to (DESCRIPTION=(ADDRES