Giter VIP home page Giter VIP logo

topline's People

Contributors

xm-right avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

topline's Issues

请问如何加入查看原文链接的功能呢

想要在浏览文章界面加一个按钮实现”返回原网站地址查看“的功能要怎么办呢?
我目前的方法是在article的这个数据表中加入一个url的String,并更新modalclass文件,并写入每个文章对应的原文url;
之后我把其中一个按钮对应的function改了

米粉看过来 >> 进入话题

funOpenHeder就是我的新function;
之后我在底下加入了function的描述: function funOpenHeder( tag ){
var name = tag.getAttribute('data-name');
api.openFrame({
name: name,
url: api.pageParam.url + '.html',
rect:{
x: 0,
y: 50,
w: api.frameWidth,
h: api.frameHeight
},
pageParam:{
id : api.pageParam.id,
title : api.pageParam.title
}
});
};

这段代码是模仿这些源码中的其他部分写的,不work,自己也没想出怎么办,高手们能帮帮忙吗,谢谢~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.