Welcome to TalkGraphics.com
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
  1. #11
    Join Date
    Sep 2017
    Posts
    23

    Default Re: Navigation buttons do not zoom properly when previewing page

    Quote Originally Posted by Acorn View Post
    The downfall of Xara's approach to a Navigation Bar is all the buttons end up as images.
    I use CCS as this transforms fonts and boxes without introducing images needlessly.

    Play with http://www.cssportal.com/css3-menu-generator/ and zoom to 500% in Chrome or 10000% in Edge to see what I mean.

    Acorn
    https://www.irs.gov/

  2. #12
    Join Date
    Oct 2010
    Location
    South Africa
    Posts
    877

    Default Re: Navigation buttons do not zoom properly when previewing page

    That's really useful Acorn - where do you place the CSS or HTML code in WDP to get the menu bar - in a placeholder?

  3. #13
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,926

    Default Re: Navigation buttons do not zoom properly when previewing page

    Hi LGF, place the css code in the Web Properties / Page / Head code. You need to add <style> and </style> tags at the start end of the supplied css. Apply.

    Then create a rectangle on the page & select it Web Properties / Placeholder / Body code and paste in the supplied html code. Apply.
    Attached Files Attached Files
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  4. #14
    Join Date
    Apr 2015
    Location
    Germany
    Posts
    927

    Default Re: Navigation buttons do not zoom properly when previewing page

    You can also cheat and add the following to the website html code to force the high resolution images to be displayed:
    Code:
    <script>
    xr_htm_orig=xr_htm;
    xr_htm=function(){var o=xr_autoscale;xr_autoscale=true;xr_htm_orig();xr_autoscale=o;};
    </script>
    This requires to set the retina option explained by Gary in post 8.
    And if you are familiar with the registry you can also increase the resolution that Xara uses to export high resolution images. (Although this will increases file sizes and loading times.)
    You can find the key in HKEY_CURRENT_USER\Software\<Optional Wow6432Node if you have installed 32 Bit Xara on 64 Bit Windows>\Xara\<your product>\<version>\Options\Filters\HTMLHiResBitmap Dpi.
    Attached Files Attached Files

  5. #15
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,926

    Default Re: Navigation buttons do not zoom properly when previewing page

    Good tip Siran.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  6. #16
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,858

    Default Re: Navigation buttons do not zoom properly when previewing page

    Quote Originally Posted by siran View Post
    You can also cheat and add the following to the website html code to force the high resolution images to be displayed:
    Code:
    <script>
    xr_htm_orig=xr_htm;
    xr_htm=function(){var o=xr_autoscale;xr_autoscale=true;xr_htm_orig();xr_autoscale=o;};
    </script>
    This requires to set the retina option explained by Gary in post 8.
    And if you are familiar with the registry you can also increase the resolution that Xara uses to export high resolution images. (Although this will increases file sizes and loading times.)
    You can find the key in HKEY_CURRENT_USER\Software\<Optional Wow6432Node if you have installed 32 Bit Xara on 64 Bit Windows>\Xara\<your product>\<version>\Options\Filters\HTMLHiResBitmap Dpi.
    Cheers siran, that is really useful,
    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  7. #17
    Join Date
    Oct 2010
    Location
    South Africa
    Posts
    877

    Default Re: Navigation buttons do not zoom properly when previewing page

    Quote Originally Posted by Egg Bramhill View Post
    Hi LGF, place the css code in the Web Properties / Page / Head code. You need to add <style> and </style> tags at the start end of the supplied css. Apply.

    Then create a rectangle on the page & select it Web Properties / Placeholder / Body code and paste in the supplied html code. Apply.
    Thanks for that Egg!
    Is there any way to make the button behind each menu item a solid colour rather than a grad? - can't see anywhere to change it on the site...

  8. #18
    Join Date
    Apr 2015
    Location
    Germany
    Posts
    927

    Default Re: Navigation buttons do not zoom properly when previewing page

    Happy to hear that it seems to be of use.

  9. #19
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,858

    Default Re: Navigation buttons do not zoom properly when previewing page

    Quote Originally Posted by letsgofishing View Post
    Thanks for that Egg!
    Is there any way to make the button behind each menu item a solid colour rather than a grad? - can't see anywhere to change it on the site...
    Menu Options > Menu Bar > Background: tick Solid Background
    Menu Options > Top Menu Hover > Background: tick Solid Background
    Menu Options > Sub Menu > Background: tick Solid Background
    Menu Options > Sub Menu Hover > Background: tick Solid Background

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  10. #20
    Join Date
    Oct 2010
    Location
    South Africa
    Posts
    877

    Default Re: Navigation buttons do not zoom properly when previewing page

    Almost there but not quite - I've set all the background colours to solid and the shadow colours to white and shadow lengths to zero, but there's a rectangular "box" behind each menu button that casts a small shadow below it.
    Click image for larger version. 

Name:	CSS menu2.jpg 
Views:	183 
Size:	16.7 KB 
ID:	118780
    Last edited by letsgofishing; 09 September 2017 at 07:10 AM.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •