Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x

HTML

58K

Solutions

30K

Contributors

HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.

Share tech news, updates, or what's on your mind.

Sign up to Post

pump casting
Zhaoqing OLYM metal products Co.,Ltd,which founded in 2001,is a high-tech private enterprise,the member of China foundry association,one of the strong enterprise in Chinese investment casting industry. The company is committed to meeting the various of high-quality investment casting demand
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE
LVL 4
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Please go to http://dev2.magickitchen.com/menu/MKMS/98033.html  - this page uses the same template as this one: http://dev2.magickitchen.com/menu/MKMS/98043.html  and 50 others. All the other pages look correct, with the heating instructions on the right side.

Only http://dev2.magickitchen.com/menu/MKMS/98033.html is wrong, and it's wrong in all categories. I've looked over the product in the database, and can't see any other problems. Any ideas? Thanks.
0
How can I remove the button and make it that if $_POST['a'] == 1
Then display the pop up? else dont? Is this possible?

<!-- Modal -->
<div id="myModal" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Modal Header</h4>
      </div>
      <div class="modal-body">
        <p>Some text in the modal.</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
      </div>
    </div>

  </div>
</div>

Open in new window

0
Dear,
What to adjust below
                html += "<tr class='houserow' data-id='" + house.house_id + "'>";
                html += "<td >" + (site_lang === "ENG" ? "Price: " : "") + "</td><td >" + house.price_curr + "</td>";
                html += "<td >" + house.price + "</td>";
                html += "<td >更新日期</td><td >" + house.upd_date + "</td>";
                html += "</tr>";

Open in new window


to have more columns below
19c.pngto this site?                        

http://my-friend.co/HouseList4/Default.aspx?userid=mc23
0
hi,

I can use VBA to download csv files published from google sheets with the function below which works well. However I also want to download csv files from another site that has the following format:

https://www.airbnb.co.uk/transaction_history/csv/XXXXXX?pending=1

(this is the URL that shows in the download history)

However all I get in the attached HTML file. Is there a way I could alter the VBA code to obtain the csv?

Thanks

Function DownloadFile(myURL, saveToPath)

Dim WinHttpReq As Object
Set WinHttpReq = CreateObject("Microsoft.XMLHTTP")
WinHttpReq.Open "GET", myURL, False, "username", "password"
WinHttpReq.send

myURL = WinHttpReq.responseBody
If WinHttpReq.Status = 200 Then
    Set oStream = CreateObject("ADODB.Stream")
    oStream.Open
    oStream.Type = 1
    oStream.Write WinHttpReq.responseBody
    oStream.SaveToFile saveToPath, 2 ' 1 = no overwrite, 2 = overwrite
    oStream.Close
End If

End Function

Open in new window

airbnb_txn_pending.csv
0
Hi, I need a link checker. I'm using Inspyder Insight, but it gives me a phone number link that's on every page, and a few other pages that I don't need. I know I can exclude urls, but I don't want to exclude it from searching pages, I want to exclude it from seeing and reporting certain links.

So Ideally, if I could get a link checking tool where I can say: If the anchor text is a number or contains these characters, don't report it.

Anything like that out there? Thanks.
0
I have a Puzzle Piece class but need an additional class which makes the image look like the upper right corner of the page is folder over.

.puzzle-piece {
    width: 12.5%;
    float: left;
    box-sizing: border-box;
    position: relative;
    border-bottom: 2px solid blue;*/
    text-align: center;
    z-index: 10;
}

So, when I add that class, I want to see what looks like a small black triangular corner being added to the image in the upper right corner.

How do I do that in CSS?
0
I had this question after viewing HTML email via access need red font and bold type for text.


I'm trying to add a section in my email to allow for comments.

But the form will not allow me to type after this statement :

mybody3 = "</table><p><b>Additional Approval or Rejection Comments: <b><br><br>"
    mybody3 = mybody3 & "</p>"

Can I add just a single html table with (1 x 1) to type something into ?

Thanks
fordraiders
0
Access vba

I'm sending an email via outlook and want to do 2 things with the text in this section:

Bold type:    Click on This Link to For Good Reading
Make the Font   "Red"


mybody5 = "<body><p>Click on This Link to For Good Reading " & _
                              "<a href='https://www.google.com/'>" & _
                              "https://www.usatoday.com/</a>. Good luck!"
   
    mybody5 = mybody5 & "</p>"


Thanks
fordraiders
0
Hi,
I have 2000 small HTML files and I want to replace something, or actuallr remove something.
I found EmEditor which I like a lot. It has some regular expression search. But I cant figure out how to solve my challange.

I have a piece of html code:
<a style="font-family:Arial; font-size:12px; " href="photo_send.php?id=???">Request high resolution photo</a><br>

very simple, I want to remove this line. However where you see ??? there are numbers in there from 1 to 2000. So I try to find a way to tell the find/replace to ignore on the find what is between the id= and the "

Any ideas on how to accomplish this?

Thank you for any tip.

Thom
0
Free Tool: Port Scanner
LVL 10
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

What is the syntax to set the Powerapps HTML control to reference a Sharepoint field that is already in a connection with the Powerapps app? I have my app working except displaying this one field that has HTML data in it from Sharepoint. It displays as a text field but shows all the HTML tags. Everything I've seen show to set the HTMLtext property but I cant find the right syntax. I do not want to change the SharePoint field type we use the HTLM formatting. There is limited documentation available for powerapps
0
Code snippet from PuzzleCanvasComponent where I fill the PuzzlePieceComponent array.
ngOnInit() { 
    let index = 0;
    for(let row = 0; row < this.rows; row++) {
      for(let column = 0; column < this.columns; column++) {
        this.pieces[index] = new PuzzlePieceComponent();
        this.pieces[index].id=index;
        index++;
      }
    }
  }

Open in new window


I want to set the "id" property there, but this line does nothing:
        this.pieces[index].id=index;


So I tried to use the HTML template for PuzzleCanvasComponent, but have the syntax wrong.
<div class="puzzle">
    <puzzle-piece *ngFor="#piece of pieces; #i=index" [value]="piece" [id]="i"></puzzle-piece>
</div>

Open in new window


with the following properties created in the TS file
export class PuzzlePieceComponent implements OnInit {
  @Input() value:PuzzlePieceComponent;
  @Input() id:Number;
...

Open in new window


I'd prefer if the first method could be made to work, especially since I want to expand the number or properties set in
ngOnInit() beyond just the id.

Is method #1 fixable? Or must iI use the second method? If so, what is the syntax?
0
I have a report that works with a regex and validates well enough w/ the regex. The client is asking to force the date field to be all caps though. I can add the style -  style="text-transform:uppercase" - to force this but when I do it throws an error. Anyone have any idea why this would happen? code below:
<cfinput type="text" 
                                          name="period" 
                                          validate="regex"
                                          pattern="^(JAN|FEB|MAR|APR|JUN|JUL|AUG|SEP|OCT|NOV|DEC)-(19|20)[0-9]{2}$" 
                                          message="Please enter the Accounting Period in the correct format, i.e. MON-YYYY." 
                                          required="true"
                                          id="period"
                                          class="Headline12DrkBlu" 
                                          size="10" 
                                          maxlength="8"
                                          default="#period#">

 But if you add the style to force the all caps it errors out: 

            <cfinput type="text" 
                                          style="text-transform:uppercase"
                                          name="period" 
                                          validate="regex"
                                          pattern="^(JAN|FEB|MAR|APR|JUN|JUL|AUG|SEP|OCT|NOV|DEC)-(19|20)[0-9]{2}$" 
                                          

Open in new window

0
Hi,

I have default.aspx page using frameset. I want to convert this using Masterpage. in asp.net and c#.

<%@ Page %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
	
  </HEAD>
<frameset rows="15%,85%"  border="0" frameBorder="0" frameSpacing="0">
     <frame src="AdminPage.aspx" NAME="Banner"  scrolling="no"/>
<FRAMESET border="0" frameBorder="0" frameSpacing="0" COLS="30%,70%">
    <FRAME SRC="index.aspx" NAME="frameName1">
    <FRAME SRC="blank.htm" NAME="frameName2">
</FRAMESET>
    </frameset>
</HTML>
 

Open in new window

0
Is it possible to email the HTML page as a PDF using  JavaScript?
0
I inherited a form that has an html button it
I need to build a on click event (Server side) that redirects to another page

Right now I have a .net label inside the button that works... but it does not make the entire "button" click area.

            <button>
                <asp:Label ID="lblPayNow" CssClass="lblbutton" runat="server" Width="100%" Height="100px"></asp:Label>
            </button>

Server side (.Net)

Page load
Dim path As String = HttpContext.Current.Request.Url.AbsoluteUri
path = path.Replace("TextLanding", "Payment")
lblPayNow.Text = "<a href='" + path + "' style='text-decoration:none;color:#ffffff; width:100%;'>Pay Now</a>"

All of this works...
I just need the "Pay Now" link to fill the button
0
Hi guys, i was wondering what is the best way to remove dates from all posts

You can see the date here


http://mediastreet.ie/interview/mediastreet-interview-ciaran-cunningham-ceo-carat-media/
0
Hi.

I have a virtual directory on my server called "uploads". The directory points to a specified folder outside the www-root.
How do I link to files in the virtual folder as an URL? I suppose I have to build in server.mappath somehow, but I can't make it work.
Any good advice? :-)

Best

Ulrich
0
I want to add html to a page before and after certain div's.
<script>
$(document).ready(function () {
    $("#personal_information").before("<div class='personal-info-cont'>");
    $(".email_text").after("<div class='suffix_text_wccpf_fields'><button id='personal_info_next' type='button'>NEXT</div></div>");

//  AND I HAVE TRIED

 $("<div class='personal-info-cont'>").insertBefore("#personal_information");
    $("<div class='suffix_text_wccpf_fields'><button id='personal_info_next' type='button'>NEXT</div></div>").insertAfter(".email_text");

Open in new window


As you can see I added the closing div after: $(".email_text").after
But that does not work.  <div class='personal-info-cont'></div> automatically closes itself when I do it this way.  
And The closing div here ($(".email_text").after("<div class='suffix_text_wccpf_fields'><button id='personal_info_next' type='button'>NEXT</div></div>");) Does not show up.
I want to surround a few fields on a form with a div that I can hide.
0
Tech or Treat!
LVL 10
Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

I was wondering if someone knows a script or could help get me started with a script (jquery, jquery mobile, javascript, CSS or combination) that simulate what the attachment shows. Basically, if they select an item to order it should appear in one window and the items to select from should be in the other window and some sort of animation should indicate that is happening. It is a phone interface but the click event should be able to make it useful from a regular web window. Thank  you.
sliding-screen-shot-666-.png
0
Scenario:
<form id="a">
Form collecting data (Name, Email, Address)
Submitting to Firebase
</form>

<form id="b">
Upload field to send file to Dropbox
</form>

Using:
Jquery, Bootstrap
Firebase

Not tied to any of these if suggested to change.


1. Added Form with fields ( in a <form> ) container
2. click submit to add to firebase
This works

3. Added a second <form> to hold the upload control
4. Added javascript to upload to dropbox
5. Has a "add files" button to add the files (javascript also located in main.js)
This does not work.  No errors, just does not fire. No console responses either.

I'm thinking maybe they need to be combined into 1 <form>??  Partial code below.

HTML for uploader
<section class="container main">

    <form onSubmit="return uploadFile()">
        <input type="file" id="file-upload" />
        <button type="submit">Add Files</button>
    </form>

    <!-- A place to show the status of the upload -->
    <h2 id="results"></h2>
</section>
            </div>
        </div>
    </div>
    <script src="https://www.gstatic.com/firebasejs/4.5.0/firebase.js"></script>
    <script src="main.js"></script>

Open in new window


Javascript for uploader
function uploadFile() {
    var ACCESS_TOKEN = 'abababababTHISISAFAKEACCESSTOKENababababababab';
    var dbx = new Dropbox({
        accessToken: ACCESS_TOKEN
    });
    var fileInput = document.getElementById('file-upload');
    var file = fileInput.files[0];
    dbx.filesUpload({
            path: '/testLFL' + file.name,
            contents: file
        })
        .then(function (response) {
            var results = document.getElementById('results');
            results.appendChild(document.createTextNode('File uploaded!'));
            console.log(response);
        })
        .catch(function (error) {
            console.error(error);
        });
        
    return false;
}

Open in new window

0
I need to load an image based on a generated filename but find the following logic fails.

@Component({
  selector: 'puzzlepiece',
  styles: [],
  template: '<img src="../../../assets/images/PuzzleCompleted_" + {{ id }} + ".gif" />'
})

Instead of displaying the image, the path name variable is displayed on the page, thusly:

path name
but when I hard code the filename, it works:

@Component({
  selector: 'puzzlepiece',
  styles: [],
  template: '<img src="../../../assets/images/PuzzleCompleted_1.gif" />'
})

hard coded path
How do I use a variable to set the "src" for an image inside an HTML template?
0
<script>

$(document).ready(function() {
          flexibleHeight();
    
	$('#example').DataTable( {
		 "scrollY":'50vh',
    "scrollCollapse": true,
		"scrollX": true,
		"searching":false,
		"paging":true,
		"sPaginationType": "listbox",
		"info": false,
    "dom": '<"top"flp>rt<"bottom"><"clear">',
     "columnDefs": [
    { "width": "20%", "targets": 0 }
  ]
		
	});


	$('input[type=text]').addClass('input-sm , form-control');
  $('.form-control').css('width, none');
  $('select').addClass('input-sm , form-control');
   $(".dataTables_length > label > select").css("display", "inline-block");

	 $( function() {
    var availableTags = [
      "ActionScript",
      "AppleScript",
      "Asp",
      "BASIC",
      "C",
      "C++",
      "Clojure",
      "COBOL",
      "ColdFusion",
      "Erlang",
      "Fortran",
      "Groovy",
      "Haskell",
      "Java",
      "JavaScript",
      "Lisp",
      "Perl",
      "PHP",
      "Python",
      "Ruby",
      "Scala",
      "Scheme"
    ];
     $( "#tags" ).autocomplete({
      source: availableTags
    });
 });
	 $( function() {
    $( "#datepicker" ).datepicker();
  });

   $(".glyphicon").click(function(){
        $(".filter").toggle();
    });



  
  $(window).resize(function(){
            flexibleHeight();
        });

  
});

function flexibleHeight(){
  var mainwindow = $(window).height();
 
   var header  = $('.filter').outerHeight();
 
  var oxynet  = mainwindow - header;
 


  

Open in new window

0
Hi All we have a string in our selenium tests which we we want to appear as a link in the report we are generating for example <a href=\"{link}\">{link}</a>. The probably is when the html report is generated it converts the < symbol to ;lt; and > to ;gt;. Is there a way we can try and prevent this occurring so the link appears correctly in the report
0
Hi there. I'm trying to center-align the 3 circle images and captions under them over mobile but not having much luck. Here is my page... http://machebeuf.org/future

Any ideas experts?
0

HTML

58K

Solutions

30K

Contributors

HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.