Results 1 to 4 of 4

Thread: how to create a menu using layers?

  1. #1
    Join Date
    Feb 2003

    how to create a menu using layers?

    I have Adobe Photoshop 6.

    I am trying to create a menu with an image as the background. Above the background are the options - Home, Contact us, About us and so on.....

    Once i create a new layer for the text mentioned above, i then need to divide each of the above options so i can create a link for each of them.

    The problem is, i just do not know how to do it, or where to go from here?

    I have been told that i need to slice and crop it?? Don't know how to do this.

    Hope someone can help me?

    Thanks in advance.

  2. #2
    Join Date
    Jan 2003
    Peg City
    I would say that you should look at some menu scripts and analyze them so that you can edit it to add your images. Check www.dynamicdrive.com for some of these menus. If you need any help customizing the menus, post again.


  3. #3
    Join Date
    May 2003
    Central Ohio, U.S.

    While I agree with Havik to some degree, there's really no need to go looking at unrelated scripting stuff for this. It can be easily accomplished in Photoshop.

    When you open your image in Photoshop, you should see rulers along the top and left side of the image window. (These are usually gray bars with little hash marks and numbers in them.) If you don't see the rulers, go under the View menu in Photoshop and select Show Rulers (if you're on Windows, Ctrl-R is probably the keyboard shortcut). Also, while you're in the View menu, make sure that it says Show Guides (not Hide Guides) and that the Snap To Guides option is checked. (These last two items are for the next step.)

    Next, go to your image window and click somewhere inside the left ruler ... and with the mouse button still held down, drag to the right. You should see a dotted line following your cursor. This is a guide. Drag the guide in between two menu items (like Home and Contact Us) so that you create an imaginary separation line between the two options. Let go of the mouse button, and the guide will change into a solid, bright line. Now repeat this step over and over again until you've created imaginary separation lines between all the stuff you want to link to. (This will also work by clicking and dragging from the top ruler, too.) Note: You can move guides around as much as you want ... even after you've placed them.

    You've just finished the "slicing" part that you mentioned.

    Once the guides are in place to your liking, save the image file. Now select the Marquee tool (the dashed box in the main toolbar), go to the image window, and move the cursor over the edge of the image near one of the guides. Click and start to drag, and an animated, dashed box (a "marquee") should start to form and follow your cursor. Drag this marquee over to the next guide, and the marquee should snap to it automatically. Now, you should have selected an area of the image that you want to use as a button/link.

    Next, with the marquee still active, go to the Image menu in Photoshop and select Crop. Everything outside the marquee in the image window should disappear, so you're only left with portion you want to use as a button/link as well as the guides you used to create the marquee.

    You've just finished the "cropping" part that you mentioned.

    Now make sure you use the Save As function (not the Save function) under the File menu, and call this graphic whatever you want ... like menu_01.gif or menu_01.jpg or whatever. Close the image window after it's saved.

    Next, open to the "master" image file (the one with all the guides you placed), and repeat the previous cropping steps until you've saved the entire image as a bunch of separate chunks (menu_02.jpg, menu_03.jpg, etc.). Make sure you stick to the guides as you split up the "master" image ... otherwise, things make look weird later when you bring all the chunks back together.

    Finally, go into your Web design program and just place/import the separate images one after the other. If all goes well, they should seamlessly stack together and appear to be one image. Note: To avoid possible graphic shifting and display problems, make sure you set the border to 0 (zero) on the images that you use as buttons/links.

    Hope that helps,


  4. #4
    Join Date
    Feb 2003
    It's definitely helped!!

    Thank you 'J'

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.15478 seconds
  • Memory Usage 2,855KB
  • Queries Executed 13 (?)
More Information
Template Usage (32):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (4)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates