VisualVision: professional content publishing software - Web site, self installing or autorun CD DVD, catalog, create and protect ebook, business product catalog, autoplay CD brochure, HTML Help, manual, guide, reference, database import CSV

Welcome, Guest. Please Login or Register.
Sep 26th, 2017, 8:42am

(this forum has a copy - slightly different and recommended for EWE, click here)
Français * - Español * - Italiano
Home Home Help Help Search Search Members Members Login Login Register Register
Visual Vision **User's** Forum (normal) « Question about Nav Bars »

advanced search Search for:  
Advanced search...

Max results:

   Visual Vision **User's** Forum (normal)
   Our Products
   EasyWebEditor / 1site

   Question about Nav Bars
« Previous topic | Next topic »
Pages: 1 2  Reply Reply, or ask/add more Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Question about Nav Bars  (Read 6020 times)
webbqt

YaBB Junior Member
**





  
 
WWW Email

Gender: male
Posts: 12
Re: Question about Nav Bars
« Reply #15 on: May 11th, 2005, 11:05am »
Quote Quote Modify Modify

I am trying to figure out the button generator too.  I under stand where to put the "1st chunck"  (in the head), and where to put the "2nd chunk" in the body...but i'm lost on where to put the pics themselves, as well as the menuscript.js and the menustyle.css.   I don't know where to go to make a submenu to put these in.  I'm sure this is simple, and I'm just missing it...but please help.  Where do I go for "Generic FTP" internal features?  And where does Hyperpublish put my pages/images.  I at first thought where it saves it on the computer...but it didn't work to put it there.  I know all i'm missing is where to put these things, cause when i publish I get a square with an x, but it take me to the page i want to go to.   I'd like to be able to use the submenu too if this makes a difference on what all i need to do yet.
 
I have to say I'm impressed that you would help with someone elses problems.  I've emailed them 3 different times trying to get their answer....and no reply.  So, again, Thanks for doing someone elses work.
Logged

Jules_Ellis

YaBB Junior Member
**



I love Visual Vision!

  
 
WWW Email

Gender: male
Posts: 16
Re: Question about Nav Bars
« Reply #16 on: May 11th, 2005, 8:58pm »
Quote Quote Modify Modify

Hi,
I’m not support staff, but I’ve spend a lot of time with these buttons, and I got them working. So I think I can help you with some things.  
 
The menuscript.js and the menustyle.css files should be in the folder were the published webpages are. If you don’t understand what I mean, I can perhaps easiest explain it this way:
 
1. Create (just in Windows) a folder, say with the name MyOfflinePage.
2. Open EWE and in it the hypertext that you created.
3. Chose Publish > Export pages. Click on the tab Path. Now look for the folder MyOfflinePage and select it. Click on Export. If EWE asks you to save, click Yes.
4. Now open (just in Windows) the folder MyOfflinePage. There you will see a lot of .htm files and perhaps other files that contain images and sounds.
5. Put the menuscript.js and the menustyle.css files in this folder. Open the zip-file from buttongenerator. In it you will find a folder ‘buttons’. Copy this folder and paste it into the folder MyOfflinePage. After this step, the folder MyOfflinePage will contain
a. a subfolder ‘buttons’ with in it files like button1over.png.
b. the files menuscript.js and menustyle.css
c. a lot of .htm files that were created by EWE.
6. Open the page index.htm, and go from there to the page where the buttons should be shown (that is the page were you have inserted the HTML chunks). If you didn’t insert the HTML on the cover page of EWE, then the buttons will not be shown on the index.htm and then you will have to use other links in order to arrive at the page with the buttons.
 
In this example, the pages are ‘published’ on your own computer, so other web users cannot see them. If you do not see the buttons, then there is still something wrong and there is no point in publishing it on the web. You should solve the problem first. If you do see the buttons, you can now publish everything on the web and make it available to other people. For this, all the files in MyOfflinePage should be transferred to the folder that is reserved for you by your host. You can do this in two steps.
 
7. In EWE, chose Publish > Internet – FTP > Publish on the internet… If your set up was OK, EWE will make a connection with your host. Click on Publish. Now EWE will create the .htm files and images and sounds in the folder at your host. Wait until publishing is OK, and click Close.
8. In the previous step, EWE will not have transferred the menuscript.js and the menustyle.css files and the buttons folder to your host, because these files do not belong to the hypertext. To do this, chose Publish > Internet – FTP > Generic FTP. On the left side of the dialog box, set the file selector on ‘All files (*.*)’  instead of ‘iPer hypertext (*.AEH)’. Select the file menuscript.js. Click on ‘publish >’. Now this file will be transferred to your host. Do the same for the menustyle.css file and the buttons folder.
 
Now, if something goes wrong, it must be either in steps 1 – 6 (making the buttons work) or steps 7 – 8 (publishing). If there is something wrong in steps 1 – 6, you can see it already before the publishing on internet. In this case, if you followed the above instructions and it still doesn’t work, there is probably something wrong with the HTML chunks. Note that
 
9. You should modify the HTML piece inserted ‘within text’ in the following way: Find the HTML icon that is visible in EWE on the page were you inserted the HTML. Click on the icon with the right mouse button. Select properties. The HTML text will be shown. Wherever you see <a href = “filename”, replace filename by an intrinsic EWE reference (select the filename without the “  ”  and then click on ‘insert page or file ref’). Then filename will be replaced by an icon.
10. Open the menuscript.js file with Notepad. Wherever you see something like subInfo[2][1] = newArray("submenuname","destination","");
Replace destination by the name of the .htm page to which you want to jump after clicking on the submenu. This should be the name of the page as it is given by EWE in the publishing process, not the name that you gave it yourself when working in EWE. You can find this name by looking in the folder MyOfflinePage that was created in steps 1 - 3: Open each .htm file until you have the right one. Then insert its name in the menuscript.js file. Furthermore you may want to replace the last “” by “_top”. For example, my manuscript.js file has a line
 
subInfo[2][2] = newArray("Kosten","webpage_jules_el_000010.htm","_top");  
 
I did not understand your question “Where do I go for "Generic FTP" internal features?  And where does Hyperpublish put my pages/images.”. If you have a problem with publishing, not with the buttons, then other people can probably give a better answer, or perhaps you should rephrase your question.
   
Logged

webbqt

YaBB Junior Member
**





  
 
WWW Email

Gender: male
Posts: 12
Re: Question about Nav Bars
« Reply #17 on: May 13th, 2005, 4:12pm »
Quote Quote Modify Modify

Thanks Jules, I'm getting closer!  I printed out what your wrote (very understandable, so thank you for that), and went step by step with it.  I am using the actual url address (copy and paste when i'm online from my own site) while setting up the button generator...so i don't have to change any script or mess with anything...and it takes me to the right page online.  I made a new folder just for this like you said....put the button file, the menuscript.js and menustyle.css in there. I put the 1st html in the head where it belongs, and also the 2nd html in the body.  I exported from HyperPublish to this new file...and checked it out at the index.htm and the button looked great and worked -on there anyway-so then your next steps.  I went back to Hyperpublish and published on the internet with no problems.  Then i went to generic and found everything you said (yes...i need detail just like you wrote)clicked on the 3 files and realized maybe i should click public_html like i do before i do the usual publish...so anyway, got them all in there...but still got an x box on the actual online site.  So went back to generic and hit each one to publish without sending it to public_html...and they all show up to the right.  I am starting with the publish button under the left column, then using the publish button under the right column.  You didn't say to...but I went ahead to the regular publish part and did that too.  So now when I go to the site....i still get an x box...but the submenus show up and it does take me to the right page, but the original button is still an x.  I'm sure I'm doing something wrong with the button file but just not sure....but i'm getting closer...yippy skippy
 
Thanks for you great help....if you know the silly mistake i'm still making i'd appreciate a little more help....or you can just laugh at me (that's ok too, cause that's what I'm doing)
 
Thanks again.
Logged

Jules_Ellis

YaBB Junior Member
**



I love Visual Vision!

  
 
WWW Email

Gender: male
Posts: 16
Re: Question about Nav Bars
« Reply #18 on: May 13th, 2005, 6:49pm »
Quote Quote Modify Modify

Hi, good to hear that you're getting closer. If the submenus work then the menuscript.js file seems OK. This was the most difficult part for me. If the buttons themselves show up as crosses, I think that he cannot locate the images of these buttons. Then there are two logical possibilities: (1) there is something wrong with the name or location of these images, and/ or (2) the HTML code does contain the proper path + name of these images. So I suggest that you check the following:
 
1.a Go to the folder or space that contains your (online) index.htm. Does this folder contain a subfolder with the name 'buttons' (whithout the ' and the ')?
1.b Open this buttons folder. Does it contain files with names like 'button1over.png' (again without the ') and 'button1up.png'?
2.a Open the page on which the buttons should be shown with Notepad. (If you work with frames in the same way that I do: this should be the unframed version of the page). This file should contain a few lines with (for example) the following code:
 
<a href="index.htm" onmouseover="setOverImg('1','');overSub=true;showSubMenu('submenu1','but ton1');" onmouseout="setOutImg('1','');overSub=false;setTimeout('hideSubMenu(\'su bmenu1\')',delay);" target="_top"><img src="buttons/button1up.png" border="0" id="button1" vspace="10" hspace="1"></a><br>
 
This example is for my first button, which should take the user to the page index.htm. After src = you see the path and filename of the image of the first button: "buttons/button1up.png". Do you have the same path and name here?
 
If your answers are 3 x Yes, it is hard to see what is wrong. I'm not sure whether I understand what you were writing about the URLs. Do you mean that you inserted the full http address after src = ? I'm not sure that this should work, he might interpret it like 'oh, in the current folder there should be a subfolder with the name "http..." and then he doesn't find this subfolder. So I would delete the unnecessary part of the path, and assume that he always starts looking in the current folder (= the folder in which index.htm lives). Let me know whether it works.
 
By the way, Support Staff: Would it be possible if I posted somewhere a (little) example EWE file + other files such that other people can download it and see for themselves what should be where? Of course, I would understand it very well if this is not (yet) possible, so you don't have to explain if the answer is 'no'.
 
My last own question was about how to let the the submenus jump to anchors in another frame. Well, I solved it by not using anchors, but just jumping to other pages. So I don't need an answer anymore.
 
Logged

webbqt

YaBB Junior Member
**





  
 
WWW Email

Gender: male
Posts: 12
Re: Question about Nav Bars
« Reply #19 on: May 14th, 2005, 10:09am »
Quote Quote Modify Modify

OK, before I tried your suggestions, I went back over all the steps to see if there was some little thing missing (i'm trying to avoid having to change any html script).  Anyway, when I went back to the Generic FTP to try to transfer the Button Folder (the folder containing the png files) I get an error there. What I'm doing in Generic FTP is choosing "All files" under the left side, then choosing the button folder, then choosing the publish under that same side.  But instead of getting "tranfer ok" like I get when i transfer the menuscript.js and menustyle.css, i get "error.  Got any ideas?
Logged

Jules_Ellis

YaBB Junior Member
**



I love Visual Vision!

  
 
WWW Email

Gender: male
Posts: 16
Re: Question about Nav Bars
« Reply #20 on: May 14th, 2005, 1:40pm »
Quote Quote Modify Modify

Hi,
this seems to be a publishing problem then. I must say that I became aware of the Generic FTP in EWE only after your first question, I always used another FTP program. But I think the Generic FTP is friendlier. But for this reason I'm not very experienced with Generic FTP. In particular I'm not sure what the difference is between the left and the right publish button. I tried some things and I thought the left publish button works fine if you transfer individual files. If it does not transfer the whole buttons folder with its content, why don't transfer the images in the buttons folder one by one? That's probably faster than finding a systematic solution. Remember then that at the right side you have to create the buttons folder first (if it does not yet exist there) and next, before you transfer an image to it, you open this buttons folder at the right side. After this you tranfer with the left publish button. Another possibility why the transfer would fail is of course when you exceeded your disk space.
Logged

webbqt

YaBB Junior Member
**





  
 
WWW Email

Gender: male
Posts: 12
Re: Question about Nav Bars
« Reply #21 on: May 14th, 2005, 2:40pm »
Quote Quote Modify Modify

YIPPY SKIPPY...it works!!
I made the button folder then transfered the individual buttons.  I did make two new folders because I wasn't sure where it really needed to be.  I know when i publish i have to send everything to the public_html....so i made a buttons folder where the public_html is listed (the list that comes up first), then clicked on the public_html and made one there.....i don't really care which one worked (I'll figure that out later), I'm just glad I finally got this to work (with your expert help)  Now I can make the actual full menu.
Thanks SOOOO much for your help.
Logged

Jules_Ellis

YaBB Junior Member
**



I love Visual Vision!

  
 
WWW Email

Gender: male
Posts: 16
Re: Question about Nav Bars
« Reply #22 on: May 14th, 2005, 3:10pm »
Quote Quote Modify Modify

Good to hear that it works!
Logged

webbqt

YaBB Junior Member
**





  
 
WWW Email

Gender: male
Posts: 12
Re: Question about Nav Bars
« Reply #23 on: May 15th, 2005, 4:57am »
Quote Quote Modify Modify

Well......I thought I was done.  I've got great looking buttons on my home page (www.webbsgraphics.com), they all work and so do the sub menus.  The problem now is I wanted different buttons on other pages of the site.  When creating the buttons it tells you to name each menu if you are going  use more than one menu on one page.  I found this is true even if the different menus are on different pages through out my site.  So set up menu1, menu2, and menu3.  All the button look and work fine, but I loose the sub menu by doing this.  When only using the menu1 (the button menu on the home page) I have use of the sub menus.
Logged

Jules_Ellis

YaBB Junior Member
**



I love Visual Vision!

  
 
WWW Email

Gender: male
Posts: 16
Re: Question about Nav Bars
« Reply #24 on: May 15th, 2005, 6:37pm »
Quote Quote Modify Modify

Well, that's more complicated indeed. But I've never done that, so I can only give you some suggestions. Let's see whether they work.
 
1. I assume that you've got different menuscript.js and menustyle.css files? Say these are titled menuscript1.js and so on. Remember that you had to insert a piece of HTML at Page Start? This piece should be inserted at the page start of EACH page where buttons are supposed to show. In this piece of HTML, reference is made to menuscript.js and menustyle.css (at least in my simple case). These should then be changed into menuscript1.js and menustyle1.css or whathever they are called.
 
2. I also assume that you have several buttons folders. Say, these are titled buttons1, buttons2,... Then in EACH page where buttons are required, the second piece of HTML should be inserted. But the phrase
 
src="buttons/button5up.png"
 
should then be changed in e.g.
 
src="buttons1/button5up.png"
 
3. The folders buttons1, buttons2 should also be transfered to the host.
 
But perhaps I have a totally wrong idea of what the buttongenerator sent you, so let me know what happens.
 
Jules
Logged

Jules_Ellis

YaBB Junior Member
**



I love Visual Vision!

  
 
WWW Email

Gender: male
Posts: 16
Re: Question about Nav Bars
« Reply #25 on: May 15th, 2005, 7:03pm »
Quote Quote Modify Modify

I just visited your website. I viewed the source of the home page (where the submenus work) and another page (where they don't work). The home page contains two lines with this code (part of the chunk that was inserted 'At page start'):
<script src="menuscript.js" language="javascript" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="menustyle.css" media="screen, print" /> <META NAME="title" CONTENT="Webbs Graphics">
 
The other page doesn't contain this reference to menuscript.js and menustyle.css. So I think this should be inserted at the other pages too, with perhaps different names like menuscript1.js.
 
But the buttons themselves seem OK on the other pages, or is this not what you want? So what I said under points 2 and 3 may perhaps be skipped.
 
Of course there is, as usual, another solution to this complicated thing: Not wanting the complicated thing. I visited your webpage and I was a little confused by the fact that there are two kinds of buttons. I tried to find a difference in the texts and tried out whether they would bring me to different pages. It seems they don't. Well, if they do the same things then they should look the same, is my opinion. So I would suggest that you use a single button page that you re-use in a separate frame on each page. I've done this on my page home.versatel.nl\julesellis. But I still want to help if you decide to have different buttons.
Logged

webbqt

YaBB Junior Member
**





  
 
WWW Email

Gender: male
Posts: 12
Re: Question about Nav Bars
« Reply #26 on: May 16th, 2005, 2:52pm »
Quote Quote Modify Modify

Well...this time I've really done it.  There is a way to have different menus.  And it's all so simple....after about 2 weeks messing with it.  If you want more than 1 menu on your site, you not only need to name each different menu as you make it in buttongenerator...but you need to rename the menuscript.js and menustyle.css.  But it doesn't stop there...you need to make sure the the html script that you put in the head of your page has the same name in it.  Since I had 3 different menus I wanted to try, I named them menu1, menu2, menu3.  Then I opened the file sent by buttongenerator and changed the file names to menuscript1.js and menustyle1.css to go with the menu1 buttons.  Before I copied the script to go into the head I made sure it was menuscript1.js and menustyle1.css in there to.  I did the same for each menu.  It works great....now I just have to have the time to get all the pages up to date with the new look.  By the time I get done...I'l either will have decided on different buttons...or maybe even found something else I just have to have on the site but can't figure out how to do it....Thanks for ALL the help.
Logged

Jules_Ellis

YaBB Junior Member
**



I love Visual Vision!

  
 
WWW Email

Gender: male
Posts: 16
Re: Question about Nav Bars
« Reply #27 on: May 16th, 2005, 4:44pm »
Quote Quote Modify Modify

Sounds good... congratulations!   I think what you described is pretty much what I meant, except that you had to rename the menuscript.js and menustyle.css files yourself. If you want to change the buttons in the future, that might be easy though. I have a few suggestions:
 
(1) If you just want different images for your buttons (e.g. different colors or shape or text, but the same number of buttons and each button with the same function) then it is sufficient to replace the image files in the buttons folder by new image files.
 
(2) If you just want different submenus (with the same buttons) then it is probably sufficient to modify or replace the menuscript.js and menustyle.css files.
 
(3) If you just want that the same buttons take you to a different page, then it is probably sufficient to change the second HTML part (in text).
 
Have fun,
Jules
Logged

Jules_Ellis

YaBB Junior Member
**



I love Visual Vision!

  
 
WWW Email

Gender: male
Posts: 16
Re: Question about Nav Bars
« Reply #28 on: May 16th, 2005, 6:06pm »
Quote Quote Modify Modify

In another thread (Nice menu's, can I do?) there was a question about making menus that look quite different from the ones made with buttongenerator. The differences are:
 
1. The submenus are arranged horizontally.
2. The submenus are transparant.
3. The submenus have different colors.
4. The submenus show up gradually.
 
I thought about various solutions for this, but I think that the easiest way to begin with is to use the buttongenerator stuff anyway, and then modify something.
 
I have a solution for the firts point above: How to arrange the submenus horizontally. Note that the buttons themselves can be arranged horizontally easily in the buttongenerator itself. But the submenus will still be vertical then. To change this, open the menustyle.css file with Notepad. Then
 
1. At the first place where 'width' is specified, e.g.
 
    width = 129px;
 
change this into
 
    width = 1200px;
 
where 1200 may be another large number too.
 
2. Change
 
     display: block;
in
display:;
Logged

Jules_Ellis

YaBB Junior Member
**



I love Visual Vision!

  
 
WWW Email

Gender: male
Posts: 16
Re: Question about Nav Bars
« Reply #29 on: May 16th, 2005, 6:14pm »
Quote Quote Modify Modify

In another thread (Nice menu's, can I do?) there was a question about making menus that look quite different from the ones made with buttongenerator. The differences are:
 
1. The submenus are arranged horizontally.
2. The submenus are transparant.
3. The submenus have different colors.
4. The submenus show up gradually.
 
I thought about various solutions for this, but I think that the easiest way to begin with is to use the buttongenerator stuff anyway, and then modify something.
 
I have a solution for the firts point above: How to arrange the submenus horizontally. Note that the buttons themselves can be arranged horizontally easily in the buttongenerator itself. But the submenus will still be vertical then. To change this, open the menustyle.css file with Notepad. Then
 
1. At the first place where 'width' is specified, e.g.
 
    width = 129px;
 
change this into
 
    width = 1200px;
 
where 1200 may be another large number too.
 
2. Change
 
     display: block;
into  
     display:;
 
3. At the last two places where you see 'margin', change
     margin: 2px;
into
     marging: 0px;
 
4. In the beginning of the file, after the first time you see .dropmenu, delete the lines with these specifications:
 
   border-width: 1px;
   border-style: solid;
   border-color: #404040;  
   background-color: #D4D4D4;
 
(the colors will of course be different if you have other buttons than I have).
 
If anyone is interested in the other points, let me hear and I will try to find out. Of course I can't promise anything.
 
Jules
Logged

Pages: 1 2  Reply Reply, or ask/add more Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


VisualVision main Web site
   Easy software tools from Visual Vision:
        
Visual Vision **User's** Forum (normal) » Powered YaBB 1 Gold - SP1!
YaBB © 2000-2001, XNull. All Rights Reserved.
This forum © 2001-2008 VisualVision and VisualVision Users