• Resolved noscomputers

    (@noscomputers)


    i have a wordpress site that i have been working on now for whatever reason the body of the site header and footer act like they are within a link and if you click anywhere it registers as a button and directs the user back to home page ? when clicking on photo slideshow buttons with code javascript: void(0) code does not work and sends user back to homepage ? any help appreciated

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You need to link to a page with the issue

    Thread Starter noscomputers

    (@noscomputers)

    here is my header.php

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
    
    	<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
    
    	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
    
    	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    	<?php wp_get_archives('type=monthly&format=link'); ?>
    	<?php //comments_popup_script(); // off by default ?>
    	<?php wp_head(); ?>
    </head>
    
    <body>
    
    <div id="container">
    
    	<div id="header";" style="cursor: pointer;">
    					<ul id="nav">
             <?php wp_list_pages('title_li=&depth=0&sort_column=menu_order&exclude=56'); ?>
     </ul>
    
    	<div id="tabs" class="nav" align="center"><ul><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></ul></div>

    i cant see whats causing the whole site to be a link

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Maybe it’s not actually a link, maybe it just looks like it’s a link from this:

    <div id="header";" style="cursor: pointer;">

    (cursor: pointer)

    Thread Starter noscomputers

    (@noscomputers)

    yea that was it Andrew thank you for your very quick support i had myself looking for a url thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Weird issues with JS clickable areas’ is closed to new replies.