Apple Event: May 7th at 7 am PT

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 7:05 AM in response to Wyodor

Well I've working, this is a quick course about codes and I'm thankful for the help.

First thing is that I'm working just inside my computer without uploading nothing, and I've found:

1-I did never tried to visit the page once the changes made in Iweb, and surprise I found that when Firefox opens the page the menu was there:

User uploaded file

But in Iweb it looks like:

User uploaded file

So I think here there's a problem of WYSIWYG.


2-Another thing I found is that the code:

<link rel="stylesheet" href="css3menu1/style.css"

Works when the css3menu1 folder is inside the Iweb folder created with the page

And this variable:

<link rel="stylesheet" href="../../css3menu1/style.css"

Works when the css3menu1folder is in the root directory of Iweb's web. Wich makes it perfect when you have to republish the page.


That solves the problem of menu not showing.


Now the problem for me is how can I work in Iweb having a normal view of the menu , because working in stethics is a trouble having to publish for to see and then coming back to make changes.


Is there anyway that I can make the css3menu showing up in Iweb? I mean no the plain text of the html snippet, but the final view.


Thanks for your guide and your time, and be patient with the newbie.

Feb 3, 2013 10:38 AM in response to Roddy

Wyodor, I uploaded the menu.html and the css3menu1 folder to my ftp, then use a snippet with the code of the first of your links:

<iframe src="http://url.to.file.html" frameborder="0" width="500" height="500" scrolling="no" allowTransparency="true"></iframe>

I did change http://www.barbarossanautica.com/menu.html

but I've got the same plain text


What's wrong?


Rudy wha's the code for the absolute path? it's that an iframe?


Both the menu.html and the css3menu1 folder are uploaded in the ftp server now.


Thanks

Feb 3, 2013 12:29 PM in response to Roddy

Well now I used what you told me the "absolute path" and I have tried with the iframe code from Wyodor's link:

http://www.wyodor.net/blog/archives/2011/08/entry_321.html

and begine to understand a little how it works.

So everything is on the way and the menu is showing in Iweb, iframe calls from the file in the ftp and it shows in Iweb, this is solved.


But now I would like to know if I can make Iweb to show the menu, but instead of getting it from the ftp, getting it from a local folder, or from the folders in the ftp once it's uploaded.


Roddy wrote:


I don't understand why you want to use an iframe!


Do you have an iWeb page with the menu on it uploaded to the server?


If so, what is the URL to that page?


You ask me why I use an iframe, because now is the only way I know, is there any other way?.


Yes I have a Iweb page in the server, but the new page that will have the menu is still in my computer.

Any way the css3 menu folder and the menu.html files are already in the server and working but with the Iweb pages of my computer


The url of my page is www.barbarossanautica.com but this is the old version I'm trying to make something better now.


Thanks for your patience

Feb 3, 2013 12:41 PM in response to Wyodor

Wyodor wrote:


So you want something like this :


User uploaded file

Put a HTML Snippet in that position.

Add the < iframe> code.

And use the link to the menu.


This :


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


Adjust the numbers for width and height to make it fit the area.

It doesn't work.

Might it be that the path: /menu.html, needs something else?

Feb 3, 2013 12:52 PM in response to Barbarossanautica

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">

<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<title>css3menu.com</title>

<!-- Start css3menu.com HEAD section -->

<link rel="stylesheet" href="http://www.barbarossanautica.com/menu_files/css3menu1/style.css" type="text/css" /><style type="text/css">._css3m{display:none}</style>

<!-- End css3menu.com HEAD section -->


</head>



<!-- Start css3menu.com BODY section -->

<ul id="css3menu1" class="topmenu">

<li class="topfirst"><a href="http://www.barbarossanautica.com/Venta_de_Embarcaciones/Venta_de_Embarcaciones.h tml" title="Venta de Embarcaciones" style="height:16px;line-height:16px;">Venta de Embarcaciones</a></li>

<li class="topmenu"><a href="http://www.barbarossanautica.com/Nosotros.html" title="Nosotros" style="height:16px;line-height:16px;">Nosotros</a></li>

<li class="topmenu"><a href="http://www.barbarossanautica.com/Nuestros_barcos/Nuestros_barcos.html" title="Nuestros Barcos" style="height:16px;line-height:16px;">Nuestros Barcos</a></li>

<li class="topmenu"><a href="http://www.barbarossanautica.com/Tarifas_y_ocupacion.html" title="Tarifas y Ocupación" style="height:16px;line-height:16px;">Tarifas y Ocupación</a></li>

<li class="topmenu"><a href="http://www.barbarossanautica.com/Contacto.html" title="Contacto" style="height:16px;line-height:16px;">Contacto</a></li>

<li class="topmenu"><a href="http://www.barbarossanautica.com/Servicios_Nauticos.html" title="Servicios Náuticos" style="height:16px;line-height:16px;">Servicios Náuticos</a></li>

<li class="toplast"><a href="http://www.barbarossanautica.com/Venta_de_Embarcaciones/Venta_de_Embarcaciones.h tml" title="Venta de Embarcaciones" style="height:16px;line-height:16px;">Venta de Embarcaciones</a></li>

</ul><p class="_css3m"><a href="http://css3menu.com/">CSS Menu Top Css3Menu.com</a></p>

<!-- End css3menu.com BODY section -->



</body>

</html>

User uploaded file

Feb 3, 2013 1:14 PM in response to Jeff Nitschke

Went to your menu page & viewed the page source:


User uploaded file


I then selected & copied the HTML for the menu:


User uploaded file


And then pasted it into a HTML Snippet changing the Stylesheet line from:


<link rel="stylesheet" href="menu_files/css3menu1/style.css" type="text/css" /><style type="text/css">._css3m{display:none}</style>

<!-- End css3menu.com HEAD section -->

to


<link rel="stylesheet" href="http://www.barbarossanautica.com/menu_files/css3menu1/style.css" type="text/css" /><style type="text/css">._css3m{display:none}</style>

<!-- End css3menu.com HEAD section -->

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.