Hello people I am currently writing a theme in which the different sections of the site are floating windows. The main content, sidebars, etc are in separate divs and each one constitutes a window which can be moved resized etc using javascript. Currently I'm trying out dhtmlgoodies (http://www.dhtmlgoodies.com/index.html?whichScript=floating_window_with_...) windows, but I'm planning on writing my own windows manager.
I am trying to add this line of code to my page.tpl.php theme:
<body onLoad="location.href='#top'">
However, when I add this onLoad event, it breaks the links that are in the administration pages. How can I get my theme to always jump to this anchor on every page load without breaking the admin links?
I'm trying to find a way for administrators to add a few variables to blocks (a color, for example) to be used in the theme.
One idea I had was to use the Node Info Boxes module to create boxes which are nodes, and then add CCK fields to those nodes. The question is, can I pass those CCK variables to the boxes that Node Info creates?