Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Web General Discussion
CSS|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Junior Mechanic |
I am looking at getting either SiteSpinner or WebEngine. Do either support the use of CSS? I've looked at all the descriptions and documentation that I can find and find no mention of using CSS.
Thanks, Craig |
||
|
VM Staff![]() |
Hi Craig,
Not sure what you meant by supporting CSS. All our editors use CSS extensively to create pixel precise positioning. There is no CSS Editor within the products, but they do have the ability to import code - such as CSS code- into the pages. Does this answer your question? - Derry |
|||
|
|
Junior Mechanic |
I made a drop down menu that is a style sheet, named "menu.css". I have the needed files in the root directory (menu.js, menu_items.js and menu_tpl.js). I would like to have this navigation menu on every page. I cannot figure out how to insert this into my pages.
Any help would be greatly appreciated. Thanks, Craig |
|||
|
VM Staff![]() |
Some of your files will need to go in the section of your page. To get them in, go to the Page Editor > Header tab and create a New Header.
The files that need to be referenced from the body of the page can be inserted in using the Code Editor. - Derry |
|||
|
|
Junior Mechanic |
I put the following in the header, but it doesn't work.
<script language="JavaScript" src="menu.js"></scirpt> <script language="JavaScript" src="menu_items.js"></script> <script language="JavaScript" src="menu_tpl.js"></script> When I made this, it also created a sample index.html page, that works. How can I just import this page and use it. I've tried various things, but I can't seem to import a html page directly. Thanks, Craig |
|||
|
VM Staff![]() |
You will have to check the documentation of the utility you used to create the CSS. However, one thing you need to watch is that the files are referenced to the right place. For example, when you Preview, the pages are built in a temp directory. As such your page will not be able to find the jscript files. You should try Publishing to your webhost (and make sure you upload your jscript files) and then see if the page works.
- Derry |
|||
|
|
Junior Mechanic |
I've tried evrything that you have mentioned, as far as I understood. If I sent you the files, would be willing to help me get up and running? I'd really appreciate it.
Is there a way that I can just import the index.html page that I have that works in another program? If you don't mind, you can email me directly at cabarnes@charter.net Thanks, Craig |
|||
|
VM Staff![]() |
Hi Craig,
My expertise is not really with CSS or Jscript. You can import the html code from your other page using the Code Editor, but you won't be able to view it as WYSIWYG in the editor, only as code. If you could upload your page to your webhost we could take a quick look. - Derry |
|||
|
|
Junior Mechanic |
Hi Derry,
I appreciate your help. I used a different program to upload some pages for my site. You should be able to go into the view code(?) and see the information. The blue dropdown menu bar is what I am haveing a problem with that I referred to in my previous posts. Thanks, Craig |
|||
|
VM Staff![]() |
Hi Craig,
Do you have a URL we can look at? - Derry |
|||
|
|
Junior Mechanic |
|
|||
|
VM Staff![]() |
Hi Craig,
Seems to be working for me! - Derry |
|||
|
|
Junior Mechanic |
Hi Derry,
I didn't use SiteSpinner because I couln't figure out how to get the navigation menu working. I used another program (Namo). I wanted to test both, as I like SiteSpinner much more than Namo, but I was able to do the navigation bar in Namo. If I can get the navigation bar in SiteSpinner's pages, I'll buy the program immediately, as I think it is the best of the various programs that I have tried. Craig |
|||
|
VM Staff![]() |
Whoa
If you can insert it using 'that other product', you should be able to put the navigation bar into SiteSpinner. Which product did you use to create the bar, and what are their instructions for inserting it into your webpage? - Derry |
|||
|
|
Junior Mechanic |
Sorry about mentioning "the other one"! I used the Tigra Online Menu Maker at Soft Complex. After making the menu, I was given the following files that it created, menu.css, menu.js, menu_items.js, menu_tpl.js, and index.html. The index.html already had the layout, so that is what I copied into the other program. I then just saved under various names for the other pages.
Craig |
|||
|
|
Junior Mechanic |
My idea is if I can just get that index page into SiteSpinner, then do the same thing, just resaving the page under the appropriate names.
Craig |
|||
|
VM Staff![]() |
Adding the index.html should work.
Just click on the 'code' button in SiteSpinner to open a code window then, in the code window, select the menu item 'File'->'Open File' and open the 'index.html' file. Say, 'Yes' when it asks you if you want to copy the header info to the header and 'Yes' again when it asks you if you want to remove it from the code. The menu should appear wherever you place the code object rectangle (when you publish or preview). Then you just have to make sure the other (.js & .css) files are in the same location as your web page. That means if you want to 'preview' your page you will have to put them in the '...\Virtual Mechanics\SiteSpinner V2\preview\' directory. If you want the .js files to be moved to your web site when you publish, you can add them to your project as a Foreign Object 'Publish File'. If you have other objects on your page, they may prevent a menu click if they are in front of a menu item. If that happens, just use the 'To Front' button to move the code object (with the menu) to the front. |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

