HTML Element Not behaving as it...

User 2792467 Photo


Registered User
161 posts

To me, both versions look the same, except for the width of the "About" button. Probably the javascript calculates the width a little bit different. Maybe mixing different units (px, em, etc). When resizing to a smaller window, the last button moves to a second row to the left. Normal behaviour.
I am using safari on a MacBook Pro.


Eindhoven :: Netherlands

It's easy to see, once you see it.
User 122279 Photo


Senior Advisor
14,651 posts

Bruce, I have compared the two pages you mentioned. Now you please open the two files in a browser and rightclick on them, select view source. There you have the difference!

The test file has only that one js file, and maybe that file has references to where all the dependent files are (I haven't studied the js file that closely), but clearly, the dependent files are NOT where they are said to be. And that means the browser doesn't know where to look for them.

About adding this and that to the resources:
If you are asking for help in this forum and provide the project file you are working on, how can we be of any use to you if we can't find the dependent files? We don't know which they are, if they are on the server or just on your local machine unless you tell us, we only see that they are missing from the resources folder. And we certainly can't test a file we download from your link to our local machine when half the necessary files are at a location we don't know about nor haven't got any access to.
That's where the resources folder comes in handy. If you place the css and js and menu builder files there, and reference them in the RSD settings windows (header, footer, body) where they belong, they will be exported along with your project, they will be uploaded to the correct location (where the references say they should be), and any helpers here in the forum will know if something is missing or not, and we will have access to the files in case changes are necessary.

I've spent quite some time trying to help you. I have hunted down missing files from Opencube, tried various things, and have been pondering over that menu for small screens that obviously lacked both the css and js to work properly. See attached what we are looking at.
Please don't waste our time any more by not letting us have full information about the project you want our help with.

Attachments:
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2792467 Photo


Registered User
161 posts

Bruce,
It seems the site at the first link to compare: http://65.60.26.206/~rjconstruction/ has changed. When I looked at it earlier today, the menu was fine, and now it's broken.
Eindhoven :: Netherlands

It's easy to see, once you see it.
User 2839984 Photo


Registered User
52 posts

Guys, thanks for your help, I now understand how the resources work and it makes sense to have them all in one place within the project. I have not been adding them in the past because they were already saved in my exported structure and server, but what you say makes a lot of sense, so I am going to add them in this and future projects.

I had a meeting with my client and he has agreed that we will go with just a single tier drop menu which will land on an interstitial page with links to the other pages. This also has the effect of making it less complicated for mobile.

So I have gone ahead and built the entire menu in MB for desktop and mobile views. This is why you were seeing a broken menu, I was half way through the conversion just testing it live. It is now complete and in MB working as it should without problems. So no more need for OpenCube.

Thanks, again! I learned a lot through this process.

B

Just another day designing websites for money... it's all good!
User 122279 Photo


Senior Advisor
14,651 posts

I think that is a wise decision. Good luck with your project. :)

Edit: If you have a form or anything else that uses php files, then your initial solution, uploading the form files separately to the server, will be ok. RSD cannot store php files in Resources, so therefore you actually need to upload them separately. But you can reference the index.php (or whatever name it has) in the html Element window, and preview AFTER you have uploaded the whole lot in question.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.