Jump to content

amethyst42

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Posts posted by amethyst42

  1. I'm using Dreamweaver CS3, and I'm trying to build a small website. It's been almost 5 years since I've done any work web-wise.  I'm trying to vertically centre some text to the right of an image, and make that text in a largish font (we'll say 36px for now). I have finally centered the text, but I can't seem to change the size of the font.

     

    <p.alignrt>
    <img src="../../AppData/Roaming/Adobe/Dreamweaver 9/Configuration/ServerConnections/MRE/images/mrelogo2.jpg" alt="MRE Logo" longdesc="http://mrent.ca/images/mrelogo.jpg" align="middle" /> Marvin Robbins Enterprises</p>
      <!-- end #header --></div>

     

    the CSS looks like this:

    .alignrt{
    vertical-align:text-top;
    font-size:36px;
    font-weight:bold;
    }

     

    What have I missed? The "Marvin Robbins Enterprises" just doesn't change, no matter what I do. Here is the page: http://mrent.ca/

  2. Hokay, I had a friend help me with some code for my image map project. For each area of the mining claim map, I want to have an info box pop-up onClick. The friend suggested using a floating box that becomes visible/invisible when you click, rather than a pop-up window, which I think is a great idea, what with pop-up blockers.. He's away right now, and I seem to be having a few problems getting it right.

    Here's some of the convo:
    [quote]Cakkafracle: i'd use javascript to make a floating box visible/invisibile, rather than a new window
    Amethyst42ok: Ok, how do I do that?
    Cakkafracle: ever use CSS to hide a block?
    Cakkafracle: display: none;
    Cakkafracle: then use in javascript <object>.style.value = 'block' to make it visible, 'none' to make it invisibke[/quote]

    this is the code he gave me:
    [code]function menuOn(id){
      var x = document.getElementById(id);
      if(x) x.style.display = 'block';
      var y = document.getElementById(oldID);
      if(y && oldID!=id) y.style.display = 'none';

    Here is my div:
    [code][/code]
     
      oldID = id;
     
    }
    function menuOff(id){
      var y = document.getElementById(id);
      if(y) y.style.display = 'none';
      oldID=0;
    }[/code]

    [quote]Cakkafracle: copy this into your javascript file
    Cakkafracle: this will give you two functions
    Cakkafracle: menuOn and menuOff
    Amethyst42ok: Ok!
    Cakkafracle: on click you call menuOn('blockname')
    Cakkafracle: where blockname refers to a <div id="blockname">content</div>
    Cakkafracle: you can use #blockname in your CSS to style the box
    Cakkafracle: name 'blockname' be whatever you like
    Cakkafracle: this div block is of course not inside the link block
    Cakkafracle: you can stick the div anywhere in your html[/quote]

    Here is my div:
    [code]<div class="popper" id="popper" >This is the bit with the info for the company.<br /> <a href="http://www.webaddress.com" target="_blank">This is the company's website.</a></div>[/code]

    here's a sample are on the map:
    [code]<area shape="poly" coords="492,81,495,88,493,106,497,130,574,124,570,78" alt="marum2" onclick="menuOn('popper')"></map>[/code]

    here's my css regarding the div:
    [code]#popper { background-color: #69f; border-color: #333; font: 12px arial;
    width: 200px; height: 100px; display: none;}[/code]

    I know I am missing some crucial piece of info here.. .possibly several. I could really use some pointers here!
  3. Before you ask, I've used to Adobe forums(asked and no answer), and searched their database, and I can't find the answer.

    I'm using the image map tool in goLive, making polygonal shapes. If I want to add a point to the map, how would I do it? I have tried using the tools one would use in Photoshop, but it doesn't work.
  4. [url=http://www.w3schools.com/css/css_border.asp]http://www.w3schools.com/css/css_border.asp[/url]

    This is a great site for all css-related stuff. You can put your border style info in a <p>tag and end with the usual </p> at the other end. Just encase your whole content part in the paragraph tags.
  5. I'm having trouble getting a project started and I'd like your suggestions. I am making a page with a map of mine claims. What I need is for some information to be displayed on mouseover or click (whichever is more likely to work consistently over browsers), and to be able to click on a link to go to the individual companies that own the claim.

    This is a complex map with several dozen claims on it. Should I seperate each one into a .gif or .png? I suspect that would be my first step. Would this be best done with HTML and javascript? Flash?

    I'm eager to hear suggestions on how to proceed, my brain is fogged and I just can't seem to think through this one.
  6. I haven't done any web work in AGES. I am at a loss for how to to search for the function I need, I don't seem to have the right words to put into a search engine to get what I need.

    What I have is a map of mining claims. What I need is a way to click on the individual claims for more information, via a popup window possibly, and a link to each claim's website. Is Javascript a good way to do that? Can someone point me to a script online for it?

    Appreciate your help, thank you.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.