Viewing Navigation Menu Widget Addition 2
Navigation Menu Widget Addition 2
|
User: Les C. 11 years ago
|
|
|
Code
Last edit 11 years ago |
|
|
User: Roddy 11 years ago
|
|
|
The :active pseudo selector changes the appearance of a link while it is being clicked. This is only viewed for a split second and is rarely used in practice. To indicate the current page you need to apply a class or an inline style to the link in HTML. This obviously needs to be done for every page of the site. To do this, you would need to create your own navigation menu using code and add the current class to the appropriate link on each page. ------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
User: Les C. 11 years ago
|
|
|
Roddy, Thanks for the clarification. What about implementing the following code to place the EverWeb navigation bar to a browser's edge: #navmenu_menu0 { float: right; } Last edit 11 years ago |
|
|
User: Roddy 11 years ago
|
|
|
To allow users to drag stuff around anywhere the want, EverWeb places items in a relatively position div which is inside one with absolute positioning. This means that they are fixed in position no matter what the user's browser width is. To do what you want would require the header and navigation to be "outside" of the web page with 100% width so that it moves relative to the width of the browser. If you want this you would need to create the header and navigation outside of EverWeb. The web page style that I presume you want is easy to achieve using code. The header and footer are given 100% width. The rest of the content is in a div which has a fixed width and is centered in the browser. Perhaps someday this may be possible to do in EverWeb. We would need to be able to create the header (and footer) outside of the container div and be able to give then a percentage width and position them relatively. ------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
User: Les C. 11 years ago
|
|
|
Dear Roddy, Thanks for the follow up. As I understand, it is not possible to slip in some code to modify EverWeb's default navigation menu. Only a completely self-coded menu will allow me to place a menu to the right side of the browser window thereby allowing a viewer to see it in its entirety when resizing and while using various handheld devices. I appreciate the follow up. L C |
|
|
User: Les C. 11 years ago
|
|
|
Last edit 11 years ago |
|
|
User: Roddy 11 years ago
|
|
|
Well yes, but you still couldn't do it in EW due to the fact that we can't easily place code outside if the container div.
------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
User: Les C. 11 years ago
|
|
|
Roddy, Got it. Many thanks. L C |
|
|
User: Jumbo T. 11 years ago
|
|
|
@Les Here's the menu. Outside the container div and inside the body. http://trotter.is-best.net/widemenu/ Style it like you want. |
|
|
User: Roddy 11 years ago
|
|
|
I don't think w3schools would advise you to put the styles in the body of the HTML doc via the Footer Code box!
------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
User: Roddy 11 years ago
|
|
|
I knew I had tried this way back and there was a good reason for not doing it. This was a test page I did in EW beta 10 which will tell you how long ago it was! One of the beta tester asked me if it was possible to have a dynamic header and footer. It is of course and I redid this page in EW 1.4 just now to see if it had improved with age… http://everwebcodebox.com/widget-test/dynamic-header.html Apart from the fact you need to manually adjust the position of the footer for every page, the main problem is that any HTML you add in the footer code box will appear in any HTML snippets you put on the page. SImply adding HTML headings - which are essential for every page - turns the design canvas into a complete mess and it's almost impossible to see what you are doing. Try it yourself and you will see why I gave up on this idea. ------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
User: Jumbo T. 11 years ago
|
|
|
If code in the footer box is displayed in a HTML Snippet (which I discovered months ago), do not blame the solution. Blame the bad design of the application. |
|
|
User: Les C. 11 years ago
|
|
|
-- Jumbo -- Roddy Thanks for the additional feedback. I contacted EverWeb directly and was told that they would put this request on their feature additions list. I'm new to EverWeb, and not sure how long that will be—if ever. Nevertheless, I appreciate your efforts—and willingness to create 'outside of the box.' |
|
|
User: Roddy 11 years ago
|
|
|
Quote: If code in the footer box is displayed in a HTML Snippet (which I discovered months ago), do not blame the solution. I'm not blaming anything. I tried this a long time ago and found that it wasn't a solution. Quote: Blame the bad design of the application. I wonder why you use the software when you are so quick to criticize it? If you consider the design to bad, why not suggest how it could be improved? ------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
User: Jumbo T. 11 years ago
|
|
|
If code in the Header and Footer Code box appears in unrelated HTML Snippets, shouldn't the app designers do something about it? And since you were aware of it, I assume that you, as the Master Betatester in this forum, told them. |
|
| Post Reply |
| You must login or signup to post. |
