Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello to All, I just registered prompted by the following question. Due to specific content (images and particular layout) I consider building standalone mobile and desktop versions of my website instead of one with "responsive" design; from a single web address according to the user devise/ browser aspect ratio to be directed to the respective site. As I see it only the index.html and the following page will be different; the structure of the other pages will remain identical between the two sites. I used RocketCake once in the past (must have been some of the older versions) and I don't have much experience in website build. Is the above possible to accomplish with the latest version? I perused the manual and part of the forum, but I haven't come across any mention of the subject. Thank you in advance. |
||||
|
Websites created with RocketCake are always responsive - so they will always adjust to the screen size - but if you want to create special versions optimized for special sizes this would probably work, too - although I wouldn't personally want to do it like that. Question is how you direct the visitors to the correct version? Using a JavaScript script? |
||||
|
Thank you for the swift reply. Sure, I understand the idea and benefit of the responsive design, it is just that the stuff I want on the page and looks good in "landscape" will not so in the tall "portrait" screens of smartphones, that is why I am inclined to tailor the content according to the screen ratio. I read elsewhere suggestions how directing to mobile/ desktop site could be done, but the examples were always with direct coding and I am not up to that level. Can I accomplish what JavaScript can do by using instead some of the modules/ features of the RoketCake? Thank you once again. |
||||
|
You can also do this with responsive pages - that is what breakpoints are for. You can make invisible / visible parts of your page based on the screen size for example, that way you won't have to do multiple versions of your page. Yes - otherwise use JavaScript to redirect your page. You use a JavaScript code element and write something like this: if (window.innerWidth < 768) {
|
||||
|
Thank you so much! |
||||
|
|