The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> <input type="button>
ofi
post Dec 21 2008, 09:10 AM
Post #1


Member
***

Group: Members
Posts: 60
Joined: 1-October 07
From: Iceland
Member No.: 3,957



Hi fellas

well, let me try to explain this, i am making comment form, everything is working fine, but instead of comment i like to add clickable link using
CODE
<form>
<input type="button" name="button1" value="click me" />
</form>


When the you click the button, a popup window comes up, first you enter web link then name, so instead of comment, the link goes in. happy.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Dec 21 2008, 11:36 AM
Post #2


.
********

Group: WDG Moderators
Posts: 7,728
Joined: 10-August 06
Member No.: 7



Sounds like http://www.irt.org/script/338.htm

Users without javascript will not be able to use the form, OTOH JS dependency may stop spammers as well (but in the example above it seems spammers can spam even without using the popup window, to prevent that you might set the form ACTION with JS too). Perhaps you could add a notice in a NOSCRIPT element that JS is required to post.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ofi
post Dec 21 2008, 02:16 PM
Post #3


Member
***

Group: Members
Posts: 60
Joined: 1-October 07
From: Iceland
Member No.: 3,957



Hi
I have include the script to page, but i get space above the links http://almennt.com/ny_sida/skrar.php

Can anyone see what is wrong here

CODE
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-type" value="charset=UTF-8" />
  <link rel="stylesheet" type="text/css" href="almennt.css" />

  <title>prufa</title>
</head>

<body>
  <!-- logo -->
  <a name="top"></a> <!-- outer table border left side -->

  <table border="0" width="770" cellpadding="0" cellspacing="0"
  align="center">
    <tr>
      <td align="right" valign="top" width="5" height="100%" class=
      "leftside">
        <table border="0" class="lefttside" width="100%"
        cellpadding="0" cellspacing="0" align="center">
          <tr>
            <td align="right" valign="top"><img src=
            "images/misc/nav_ls.gif" alt="ls" /></td>
          </tr>

          <tr>
            <td align="right" class="leftside" height="100%">
            <img src="images/misc/page_ls.gif" alt="ls" /></td>
          </tr>
        </table>
      </td>

      <td align="center" valign="top">
        <table border="0" width="100%" cellpadding="0" cellspacing=
        "0" align="center">
          <tr>
            <td>
              <!-- /outer table border left side -->

              <table border="0" width="770" cellpadding="0"
              cellspacing="0" align="center">
                <tr>
                  <td align="left"><a href="index.php"><img src=
                  "images/misc/logo.gif" border="0" alt=
                  "Logo" /></a></td>

                  <td align="right" valign="top"><a href=
                  "index.php"><img src="images/misc/icon_home.gif"
                  border="0" alt="Home" /></a> <a href=
                  "sendmessage.php"><img src=
                  "images/misc/icon_contact.gif" border="0" alt=
                  "Contact" /></a> <a href="forum.php"><img src=
                  "images/misc/icon_sitemap.gif" border="0" alt=
                  "Site Map" /></a></td>
                </tr>
              </table>

              <table border="0" width="770" cellpadding="0"
              cellspacing="0" align="center" class="sitenav">
                <tr>
                  <td align="left">
                    <table border="0" cellpadding="0" cellspacing=
                    "0" align="left">
                      <tr>
                        <td><a href="index.php"><img src=
                        "images/misc/nav_heim.gif" border="0" alt=
                        "Heim" /></a></td>

                        <td><a href="myndir.php"><img src=
                        "images/misc/nav_members.gif" border="0"
                        alt="Myndir" /></a></td>

                        <td><a href="spjall/"><img src=
                        "images/misc/nav_calendar.gif" border="0"
                        alt="Spjall" /></a></td>

                        <td><a href="eg.php"><img src=
                        "images/misc/nav_eg.gif" border="0" alt=
                        "Eg" /></a></td>

                        <td><a href="samband.php"><img src=
                        "images/misc/nav_register.gif" border="0"
                        alt="Samband" /></a></td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table><!-- /logo -->

              <table border="0" width="770" cellpadding="0"
              cellspacing="0" align="center" class="pagebg">
                <tr>
                  <td><img src="images/gradients/page_bg.gif" alt=
                  "bg" /></td>
                </tr>
              </table>

              <div align="center">
                <div class="page" style=
                "width:100%; text-align:left">
                  <div style="padding:0px 25px 0px 25px" align=
                  "left"></div>

                  <div style="padding:0px 25px 0px 25px" align=
                  "left">
                    <?PHP
                     include("bok3/viewguestbook.php");
                    ?>

                    <div class="pagination">
                      <ul>
                        <li><a href="#" class=
                        "prevnext disablelink">«
                        Fyrri</a></li>

                        <li><a href="#" class=
                        "currentpage">1</a></li>

                        <li><a href="#">2</a></li>

                        <li><a href="#">3</a></li>

                        <li><a href="#">4</a></li>

                        <li><a href="#">5</a></li>

                        <li><a href="#">6</a></li>

                        <li><a href="#">7</a></li>

                        <li><a href="#">8</a></li>

                        <li><a href="#">9</a>...</li>

                        <li><a href="#">15</a></li>

                        <li><a href="#">16</a></li>

                        <li><a href="#" class=
                        "prevnext">Nćsta»</a></li>
                      </ul>
                    </div><br />
                  </div>
                </div>
              </div>

              <table cellpadding="6" cellspacing="0" border="0"
              width="100%" class="page" align="center">
                <tr>
                  <td class="tfoot" align="left" width="100%">
                    <div class="smallfont">
                      <strong><a href="samband.php">Samband</a> -
                      <a href=
                      "http://www.almennt.com/spjall">Spjall</a> -
                      <a href="archive/index.php">Linkur</a> -
                      <a href="#top" onclick=
                      "self.scrollTo(0, 0); return false;">Upp</a></strong>
                    </div>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>

      <td align="left" valign="top" width="5" height="100%" class=
      "rightside">
        <table border="0" class="rightside" width="100%"
        cellpadding="0" cellspacing="0" align="center">
          <tr>
            <td align="left" valign="top"><img src=
            "images/misc/nav_rs.gif" alt="rs" /></td>
          </tr>

          <tr>
            <td align="left" class="rightside" height="100%">
            <img src="images/misc/page_rs.gif" alt="rs" /></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</body>
</html>


This post has been edited by ofi: Dec 21 2008, 02:36 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 21 2008, 04:24 PM
Post #4


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,766
Joined: 9-August 06
Member No.: 6



I don't find the button. unsure.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ofi
post Dec 22 2008, 03:16 AM
Post #5


Member
***

Group: Members
Posts: 60
Joined: 1-October 07
From: Iceland
Member No.: 3,957



mmm, it was not what i was looking for, so just skipped the button, i have solved this space above links now.

I cant spot how to fix this, i need to have output text in same line, how can i do that

CODE
<a href="http://www.almennt.com/ny_sida/count/click.php?id=1">Testing 3<p align="right">Hve oft sótt   <script language="Javascript">ccount_display('1')</script></p>


so outcome will be

CODE
Testing 3                                                                                            Hve oft sótt


This post has been edited by ofi: Dec 22 2008, 04:12 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 22 2008, 04:54 AM
Post #6


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,766
Joined: 9-August 06
Member No.: 6



I don't understand. Do you want it on one line or on three? You can't have P inside a link anyway.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ofi
post Dec 22 2008, 05:05 AM
Post #7


Member
***

Group: Members
Posts: 60
Joined: 1-October 07
From: Iceland
Member No.: 3,957



Hi
i added this in table

CODE
<table width="100%" border="0">
  <tr>
    <td width="50%" align="left"><a href="http://www.almennt.com/ny_sida/count/click.php?id=1" />Testing 3</td>
    <td width="50%" align="right">Hve oft sótt  
  <script language="Javascript">ccount_display('1')</script></td>
  </tr>
</table>


outcome http://almennt.com/ny_sida/testing.php

is there any other way to get outcome without using table

This post has been edited by ofi: Dec 22 2008, 05:06 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 22 2008, 05:11 AM
Post #8


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,766
Joined: 9-August 06
Member No.: 6



You could float them left and right.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 20th November 2017 - 06:58 AM