Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

CSS MENU IN iWEB

Hello,


Yesterday I downloaded a CSS Menu Maker from http://css3menu.com


My probleme is that I cannot put the codes onto my iWeb site so that the menu appears correctly.


I have sent an e-mail to css3menu.com support but they did not react so far - I wondering if they will ever do... Anyway they are too slow there to respond...😟


Could someone tell me what I did wrong?


Thanks,

Attila


"Dear Tech Support,


Today I have bought an Unlimited Website Licence of CSS Navigation Builder and I was delighted that in the FAQ someone has asked about how to use it with iWeb (http://css3menu.com/rq/css3-menu-templates-software-with-iweb-site-x.html).


Although I was following the procedure as you have described in that FAQ, there was no success. (Here you can see what I have got: http://aranyoldalak.eu/CSS.html)


Let me describe you step-by-step what I did hoping that it will facilitate "debugging":


1. I have created a menu (I have actually chosen a default one), named it "TEST" and saved it into a folder on my Desktop.


2. I have opened "TEST.html" with the latest version of "Text Wrangler" and copied the code starting with line "<!-- Start css3menu.com HEAD section -->" and ending with line "<!-- End css3menu.com BODY section -->".


3. I have pasted it into a snippet on a page named "CSS" on my website (www.aranyoldalak.eu) and published the site changes onto the server.


4. I have uploaded both "TEST.html" and the folder named "TEST_files", created automatically when I hit "Publish" in CSS3Menu, directly under the root folder on the server ("/public_html" in my case). (As you described on your website, the "TEST_files" folder contains and another folder ("css3menu1"), which in its turn contains the following 3 files: "arrowsub.gif", "mainbk.png" and "style.css".) So ALL these folders and files are uploaded.


I use OS X 10.7.3 and iWeb on a MacBook Pro 13" that I bought last year.



So where the problem may be? (When you answer please keep in mind I am not knowledgeable about coding or css. I would appreciate a step-by-step explanation with clear terms for non pros...)"

Posted on Apr 21, 2012 7:10 AM

Reply
Question marked as Best reply

Posted on Apr 21, 2012 8:27 AM

The link to the Stylesheet is wrong.


Instead of :


<link rel="stylesheet" href="TEST_files/css3menu1/style.css" type="text/css" />


Use this :


<link rel="stylesheet" href="../../TEST_files/css3menu1/style.css" type="text/css">

61 replies

Feb 3, 2013 10:07 PM in response to Barbarossanautica

Or use this.


<iframe src="http://www.barbarossanautica.com/menu.html" frameborder="0" width="991" height="40" scrolling="no" allowTransparency="true"></iframe>


Or this :


<iframe src="../../menu.html" frameborder="0" width="991" height="40" scrolling="no" allowTransparency="true"></iframe>


Or this :


<iframe src="../../../menu.html" frameborder="0" width="991" height="40" scrolling="no" allowTransparency="true"></iframe>


The result is the same. It all depends where your files, relative to each other.

Feb 4, 2013 2:43 AM in response to Wyodor

Well for me it's been very profitable the talking, the css3menu shows, in various ways, by an iframe as Wyodor suggests, or by direct way as Roddy an Jeff say. And at the end everything has to be "in the server" as all of you say.


The last asking and it's just samll, is that both ways need to be connected to internet, and I ask, if I were jocking without any connecction to internet what should be the path to the menu.html?


I understand that the all code should have to be changed because also the independent links had to be recoded, but this I think is a complete different story.


The best for me is that I have been working slowly and alone in a too much self-taught way. I got now the nice learning tale, that is long better way having you as partners.


Thank you very much for your time and knowledge.

Feb 10, 2013 12:33 PM in response to Barbarossanautica

Well the menu is showing up and working but I have a new problem that I've been trying to solve without success. When I go to my web if I change from page to page slowly, so I wait until the page complete loads there's no problem, but if I load a page a quickly before the page loads complete, the menu disappears and the page doesn't change, then if I reload everything works fine again. It's not problem with some users but it's with the nervous ones. I thought it was a problem of the order of the load of widgets so I remade my page to have the menu snippet first, but it didn't solve the problem. Any help?

Thanks

www.barbarossanautica.com

Feb 11, 2013 4:12 AM in response to Barbarossanautica

With a fast internet connection you need to be really quick to reproduce this.


Try using an optimizer to get your pages to download faster. This can result in your pages appearing twice as fast in the browser...


http://www.iwebformusicians.com/Search-Engine-Optimization/Optimize.html


You are also using a lot of HTML Snippets - up to 15 per page. Each one of these requies the browser to load a separate html file. You need to ask yourself if all these are necessary.


The other "time waster" is the background image.

Feb 11, 2013 4:39 AM in response to Roddy

My conecction it's not very fast, due to local problems, I used webcrusher to make the web smaller and it makes up to 30% of savings.


If the page it's too heavy usual thing would be to take a time to download, but the problem is that the load get's blocked.


It's true one of the pages got a lot of snippets but some just have the menu and the resultate is the same, so I think something in the codes are kind of fighting instead of donwloading with a certain order.


For cable connetions in most of the cases there would be not problems if they're fast, but for the ones that are like phone conecttions this can be a problem.


I've been working all the weekend to solve it, I changed from the complete html to just the iframe code, then remade all the page so the menu sinippet was the widget0 instead of the widget4 or more. Thinking it would donwload in first place


And the final thing is that I'm shure that if the menú would be a regular one, so text with hyperlinks, everything it's going to be allright.


Thanks for you time and interest.

Feb 11, 2013 8:43 AM in response to Roddy

Well all the web has pased across webcrusher, but then I make the tags, headre and footer and the "alt" with Iweb seo tool, and finally I organize and add tags with Coda, I don't let webcrusher use all his power because it's dangerous.


I want to have that kind of apple's style menu, but I'm going to look for something else, maybe something more simple, I hire the boats in my web and it has to work fine.

Feb 11, 2013 10:37 AM in response to Roddy

Sorry for my english, that's what I did changing some of the Webcrusher preferences.


Yes there're a lot of Apple style menu's around but most of then are css based and now I'm a little scared, I don't have so much time for learning, just want to have my web working and have to prepare another..

I'm thinking about doing it in simple html, no java or css, just something stethic and full working.


Now I'm a kind of sailor but I was in music bussiness for a long time before it all went down.

Feb 11, 2013 12:28 PM in response to Barbarossanautica

Here's a version with all the gradients, shadows etc removed...


http://ezmacwebdesign.com/Demo/apple-style-menu/apple-color.html


The CSS comes down to this...


<style type="text/css">

.menu {

margin: 10px 0;

padding: 0;

}

.menu ul {

display: inline-block;

outline: none;

cursor: pointer;

text-align: center;

}

.menu ul li {

float: left;

list-style: none;

}

.menu ul li a {

font: 1em "Lucida Grande", Arial, Helvetica, sans-serif;

border-right: 1px solid #888;

padding: 8px 30px;

text-decoration: none;

background: #666;

color: #08BFFF;

}

.menu ul li:last-child a:after {border: none;

}

.menu ul li:first-child a {

-webkit-border-radius: 10px 0 0 10px;

border-radius: 10px 0 0 10px;

}

.menu ul li:last-child a {

-webkit-border-radius: 0 10px 10px 0;

border-radius: 0 10px 10px 0;

}

.menu ul li a:hover {

border-right: 1px solid #ddd;

color: #fff;

background: #888;

}

.menu ul li a.current {

background: #000;

color: #ddd;

}

</style>

Feb 11, 2013 12:55 PM in response to Roddy

Do you think the problem of the not complete loading has something to see with simplifying the code?


I have right now made smaller the images you said


But could it be that something isn't working well? because as I said it's complete different problem, slow donwload due to too heavy components, than blocked download due to wrong codes, don't you think?

Feb 11, 2013 1:25 PM in response to Barbarossanautica

This page is taking over 10 seconds to download when tested...


http://www.barbarossanautica.com/Venta_de_Embarcaciones/Venta_de_Embarcaciones.h tml


User uploaded file

7 seconds is considered to be the longest the average person will wait!


When you create a website with an HTML editor, you have control over the order in which supporting files download and the position of items in the HTML. With iWeb you don't.


Normally, you would put all the non essential code - like the analytics - at the bottom just before the closing body tag.

CSS MENU IN iWEB

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.